X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/5b80d07f712ff90cfae4c89084e25eb90dd2e510..c725e24c2ffb016d5a86654f8612cf8c6e33e346:/be_all.c diff --git a/be_all.c b/be_all.c index ae58771e..a48cc707 100644 --- a/be_all.c +++ b/be_all.c @@ -3,20 +3,19 @@ * including ssh. */ -#include -#ifndef AUTO_WINSOCK -#ifdef WINSOCK_TWO -#include -#else -#include -#endif -#endif #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}, + {PROT_RLOGIN, "rlogin", &rlogin_backend}, {PROT_RAW, "raw", &raw_backend}, {0, NULL} };