From: Vincent Bernat Date: Fri, 8 Nov 2013 13:23:39 +0000 (+0100) Subject: lldpcli: accepts `-u` option to specify control socket X-Git-Tag: 0.7.7~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f7242beb1ef8d9f71fee930c7c4fee385d3fe18d;p=thirdparty%2Flldpd.git lldpcli: accepts `-u` option to specify control socket Fix: #48. --- 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;