]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
custom: fix a capitalization error in man page
authorVincent Bernat <vincent@bernat.im>
Sat, 12 Mar 2016 19:56:30 +0000 (20:56 +0100)
committerVincent Bernat <vincent@bernat.im>
Sat, 12 Mar 2016 19:56:30 +0000 (20:56 +0100)
Also correct some indentation.

src/client/lldpcli.8.in
src/daemon/client.c

index 17f61672941bfdda101655520e9d77a65d09a3a4..d91840c10600d0e91b71854e0b3a8e7cdace4d83 100644 (file)
@@ -449,7 +449,7 @@ If
 .Ar add
 is specified then the TLV will be added. This is the default action.
 If
-.Ar Replace
+.Ar replace
 is specified then all TLVs with the same
 .Ar oui
 and
index 5e05c2bf73a5107cd84202f2ce3f9eb25edff9d0..7900561797d04fb236c8fd81ef0380c6ce8645cc 100644 (file)
@@ -412,12 +412,13 @@ _client_handle_set_port(struct lldpd *cfg,
        } else {
                if (set->custom) {
                        log_info("rpc", "custom TLV op %s oui %02x:%02x:%02x subtype %x",
-                                (set->custom_tlv_op == CUSTOM_TLV_REMOVE)?"remove":
-                                 (set->custom_tlv_op == CUSTOM_TLV_ADD)?"add":"replace",
-                                set->custom->oui[0],
-                                set->custom->oui[1],
-                                set->custom->oui[2],
-                                set->custom->subtype);
+                           (set->custom_tlv_op == CUSTOM_TLV_REMOVE)?"remove":
+                           (set->custom_tlv_op == CUSTOM_TLV_ADD)?"add":
+                           "replace",
+                           set->custom->oui[0],
+                           set->custom->oui[1],
+                           set->custom->oui[2],
+                           set->custom->subtype);
                        switch (set->custom_tlv_op) {
                        case CUSTOM_TLV_REMOVE:
                                lldpd_custom_tlv_cleanup(port, set->custom);