Remove ghastly hack involving fxp_error_message.
[u/mdw/putty] / plink.c
diff --git a/plink.c b/plink.c
index 5ef9da2..7023f9d 100644 (file)
--- a/plink.c
+++ b/plink.c
@@ -452,6 +452,9 @@ int main(int argc, char **argv)
            } else if (!strcmp(p, "-telnet")) {
                default_protocol = cfg.protocol = PROT_TELNET;
                default_port = cfg.port = 23;
+           } else if (!strcmp(p, "-rlogin")) {
+               default_protocol = cfg.protocol = PROT_RLOGIN;
+               default_port = cfg.port = 513;
            } else if (!strcmp(p, "-raw")) {
                default_protocol = cfg.protocol = PROT_RAW;
            } else if (!strcmp(p, "-v")) {