about summary refs log tree commit diff
path: root/bounce.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-08-10 14:33:05 -0400
committerJune McEnroe <june@causal.agency>2020-08-11 14:58:38 -0400
commitec66173456b05d7369b5133d933784b0016fb9a1 (patch)
tree6f7fd63b3302cf9a906dd4dd2db967f799bff43c /bounce.c
parentRefactor intercept to use Handlers and fix QUIT w/o message (diff)
downloadpounce-ec66173456b05d7369b5133d933784b0016fb9a1.tar.gz
pounce-ec66173456b05d7369b5133d933784b0016fb9a1.zip
Implement stub of palaverapp.com capability
This needs to be documented! But the documentation won't make any sense
until there's something that can implement the actual functionality of
the capability.
Diffstat (limited to 'bounce.c')
-rw-r--r--bounce.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/bounce.c b/bounce.c
index 8f8d38f..990a61d 100644
--- a/bounce.c
+++ b/bounce.c
@@ -304,6 +304,7 @@ int main(int argc, char *argv[]) {
 		{ .val = 'C', .name = "local-cert", required_argument },
 		{ .val = 'H', .name = "local-host", required_argument },
 		{ .val = 'K', .name = "local-priv", required_argument },
+		{ .val = 'L', .name = "palaver", no_argument },
 		{ .val = 'N', .name = "no-names", no_argument },
 		{ .val = 'P', .name = "local-port", required_argument },
 		{ .val = 'Q', .name = "queue-interval", required_argument },
@@ -356,6 +357,7 @@ int main(int argc, char *argv[]) {
 			break; case 'H': bindHost = optarg;
 			break; case 'K': snprintf(privPath, sizeof(privPath), "%s", optarg);
 			break; case 'N': stateNoNames = true;
+			break; case 'L': clientCaps |= CapPalaverApp;
 			break; case 'P': bindPort = optarg;
 			break; case 'Q': serverQueueInterval = parseInterval(optarg);
 			break; case 'R': blindReq |= capParse(optarg, NULL);