From f7242beb1ef8d9f71fee930c7c4fee385d3fe18d Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Fri, 8 Nov 2013 14:23:39 +0100 Subject: [PATCH] lldpcli: accepts `-u` option to specify control socket Fix: #48. --- src/client/lldpcli.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/lldpcli.c b/src/client/lldpcli.c index c29853b4..8d96fd06 100644 --- a/src/client/lldpcli.c +++ b/src/client/lldpcli.c @@ -411,7 +411,7 @@ main(int argc, char *argv[]) int ch, debug = 1, rc = EXIT_FAILURE; const char *fmt = "plain"; lldpctl_conn_t *conn = NULL; - const char *options = is_lldpctl(argv[0])?"hdvf:":"hdsvf:c:"; + const char *options = is_lldpctl(argv[0])?"hdvf:":"hdsvf:c:u:"; const char *ctlname = lldpctl_get_default_transport(); int gotinputs = 0; -- 2.39.5