X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/blobdiff_plain/c91409da0ac0d3fb4a225ab85e14370514e4094e..e98104c74137f71fb43aa19e80e9c6e84abd6ee5:/be_all.c diff --git a/be_all.c b/be_all.c index fc0755ae..a48cc707 100644 --- a/be_all.c +++ b/be_all.c @@ -3,10 +3,15 @@ * including ssh. */ -#include #include #include "putty.h" +#ifdef TELNET_DEFAULT +const int be_default_protocol = PROT_TELNET; +#else +const int be_default_protocol = PROT_SSH; +#endif + struct backend_list backends[] = { {PROT_SSH, "ssh", &ssh_backend}, {PROT_TELNET, "telnet", &telnet_backend},