From: Vincent Bernat Date: Sat, 8 Oct 2022 11:41:38 +0000 (+0200) Subject: lib: fix types in custom TLVs documentation X-Git-Tag: 1.0.16~14 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7064f06bb3cab192c98b62250b40cfaa47ca0ead;p=thirdparty%2Flldpd.git lib: fix types in custom TLVs documentation Fix #550 --- diff --git a/src/lib/lldpctl.h b/src/lib/lldpctl.h index 6774ed1e..3b8fa328 100644 --- a/src/lib/lldpctl.h +++ b/src/lib/lldpctl.h @@ -860,12 +860,12 @@ typedef enum { lldpctl_k_config_max_neighbors, /**< `(I,WO)`Maximum number of neighbors per port. */ lldpctl_k_custom_tlvs = 5000, /**< `(AL)` custom TLVs */ - lldpctl_k_custom_tlvs_clear, /** `(I,WO)` clear list of custom TLVs */ - lldpctl_k_custom_tlv, /** `(AL,WO)` custom TLV **/ - lldpctl_k_custom_tlv_oui, /**< `(I,WO)` custom TLV Organizationally Unique Identifier. Default is 0 (3 bytes) */ - lldpctl_k_custom_tlv_oui_subtype, /**< `(I,WO)` custom TLV subtype. Default is 0 (1 byte) */ - lldpctl_k_custom_tlv_oui_info_string, /**< `(I,WO)` custom TLV Organizationally Unique Identifier Information String (up to 507 bytes) */ - lldpctl_k_custom_tlv_op, /**< `(I,WO)` custom TLV operation */ + lldpctl_k_custom_tlvs_clear, /**< `(WO)` clear list of custom TLVs */ + lldpctl_k_custom_tlv, /**< `(AL,WO)` custom TLV **/ + lldpctl_k_custom_tlv_oui, /**< `(B,W)` custom TLV Organizationally Unique Identifier. Default is 0 (3 bytes) */ + lldpctl_k_custom_tlv_oui_subtype, /**< `(I,W)` custom TLV subtype. Default is 0 (1 byte) */ + lldpctl_k_custom_tlv_oui_info_string, /**< `(BS,W)` custom TLV Organizationally Unique Identifier Information String (up to 507 bytes) */ + lldpctl_k_custom_tlv_op, /**< `(S,W)` custom TLV operation */ } lldpctl_key_t;