From 11f941bc4c57af40566616bae1e0aca079493356 Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Fri, 15 Nov 2019 00:53:46 -0500 Subject: Request NAMES on sync by default This inverts the meaning of -N! --- bounce.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bounce.c') 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)); -- cgit 1.4.1