]> andersk Git - openssh.git/blobdiff - ssh.c
- markus@cvs.openbsd.org 2001/04/30 11:18:52
[openssh.git] / ssh.c
diff --git a/ssh.c b/ssh.c
index a1bc3994903010037ef25edcff9cf317e66505b9..0ba69be531b46d570936bf28ba6bc7359a8fe8d9 100644 (file)
--- a/ssh.c
+++ b/ssh.c
@@ -39,7 +39,7 @@
  */
 
 #include "includes.h"
-RCSID("$OpenBSD: ssh.c,v 1.116 2001/04/17 12:55:04 markus Exp $");
+RCSID("$OpenBSD: ssh.c,v 1.117 2001/04/30 11:18:52 markus Exp $");
 
 #include <openssl/evp.h>
 #include <openssl/err.h>
@@ -191,6 +191,7 @@ usage(void)
        fprintf(stderr, "  -6          Use IPv6 only.\n");
        fprintf(stderr, "  -o 'option' Process the option as if it was read from a configuration file.\n");
        fprintf(stderr, "  -s          Invoke command (mandatory) as SSH2 subsystem.\n");
+       fprintf(stderr, "  -b          Local IP address.\n");
        exit(1);
 }
 
@@ -318,7 +319,7 @@ main(int ac, char **av)
                opt = av[optind][1];
                if (!opt)
                        usage();
-               if (strchr("eilcmpLRDo", opt)) {   /* options with arguments */
+               if (strchr("eilcmpbLRDo", opt)) {   /* options with arguments */
                        optarg = av[optind] + 2;
                        if (strcmp(optarg, "") == 0) {
                                if (optind >= ac - 1)
@@ -517,6 +518,9 @@ main(int ac, char **av)
                case 's':
                        subsystem_flag = 1;
                        break;
+               case 'b':
+                       options.bind_address = optarg;
+                       break;
                default:
                        usage();
                }
This page took 0.639448 seconds and 4 git commands to generate.