diff options
author | June McEnroe <june@causal.agency> | 2019-11-15 00:53:46 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2019-11-15 00:54:06 -0500 |
commit | 11f941bc4c57af40566616bae1e0aca079493356 (patch) | |
tree | 4df1e80ec0f7ddc481504edab573570e75a4d3d8 /bounce.c | |
parent | Add concept of passive clients (diff) | |
download | pounce-11f941bc4c57af40566616bae1e0aca079493356.tar.gz pounce-11f941bc4c57af40566616bae1e0aca079493356.zip |
Request NAMES on sync by default
This inverts the meaning of -N!
Diffstat (limited to '')
-rw-r--r-- | bounce.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bounce.c b/bounce.c index 1587d81..908a1cb 100644 --- a/bounce.c +++ b/bounce.c @@ -237,7 +237,7 @@ int main(int argc, char *argv[]) { { "cert", required_argument, NULL, 'C' }, { "bind-host", required_argument, NULL, 'H' }, { "priv", required_argument, NULL, 'K' }, - { "names", no_argument, NULL, 'N' }, + { "no-names", no_argument, NULL, 'N' }, { "bind-port", required_argument, NULL, 'P' }, { "quit", required_argument, NULL, 'Q' }, { "bind-path", required_argument, NULL, 'U' }, @@ -267,7 +267,7 @@ int main(int argc, char *argv[]) { break; case 'C': strlcpy(certPath, optarg, sizeof(certPath)); break; case 'H': bindHost = optarg; break; case 'K': strlcpy(privPath, optarg, sizeof(privPath)); - break; case 'N': stateJoinNames = true; + break; case 'N': stateNoNames = true; break; case 'P': bindPort = optarg; break; case 'Q': quit = optarg; break; case 'U': strlcpy(bindPath, optarg, sizeof(bindPath)); |