From: Vincent Bernat Date: Sat, 12 Mar 2016 19:56:30 +0000 (+0100) Subject: custom: fix a capitalization error in man page X-Git-Tag: 0.9.2~40 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=92a6d7f99331b399383ed54f105775de2b548c06;p=thirdparty%2Flldpd.git custom: fix a capitalization error in man page Also correct some indentation. --- diff --git a/src/client/lldpcli.8.in b/src/client/lldpcli.8.in index 17f61672..d91840c1 100644 --- a/src/client/lldpcli.8.in +++ b/src/client/lldpcli.8.in @@ -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 diff --git a/src/daemon/client.c b/src/daemon/client.c index 5e05c2bf..79005617 100644 --- a/src/daemon/client.c +++ b/src/daemon/client.c @@ -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);