]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
client: make lldpctl also accepts `-u` flag
authorVincent Bernat <vincent@bernat.im>
Sat, 8 Aug 2015 16:24:40 +0000 (18:24 +0200)
committerVincent Bernat <vincent@bernat.im>
Sat, 8 Aug 2015 16:25:21 +0000 (18:25 +0200)
Close: #129

src/client/lldpcli.c

index fc97c612ac55795987a54c77a53d527189115789..dc22da6f32b1576cdde37d248a9514e44593a7d9 100644 (file)
@@ -432,7 +432,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:u:";
+       const char *options = is_lldpctl(argv[0])?"hdvf:u:":"hdsvf:c:u:";
 
        int gotinputs = 0;
        struct inputs inputs;