[client] minor bug fix to add --spoof-source synonym for --spoof-src to match man...
authorMichael Rash <mbr@cipherdyne.org>
Sat, 18 Jan 2014 02:10:36 +0000 (21:10 -0500)
committerMichael Rash <mbr@cipherdyne.org>
Sat, 18 Jan 2014 02:10:36 +0000 (21:10 -0500)
client/cmd_opts.h

index 0d689cf..d9787e0 100644 (file)
@@ -124,7 +124,8 @@ static struct option cmd_opts[] =
     {"nat-rand-port",       0, NULL, NAT_RAND_PORT},
     {"server-port",         1, NULL, 'p'},
     {"server-proto",        1, NULL, 'P'},
-    {"spoof-src",           1, NULL, 'Q'},
+    {"spoof-source",        1, NULL, 'Q'},
+    {"spoof-src",           1, NULL, 'Q'}, /* synonym */
     {"rc-file",             1, NULL, RC_FILE_PATH},
     {"rand-port",           0, NULL, 'r'},
     {"resolve-ip-http",     0, NULL, 'R'},