]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
lib: fix types in custom TLVs documentation
authorVincent Bernat <vincent@bernat.ch>
Sat, 8 Oct 2022 11:41:38 +0000 (13:41 +0200)
committerVincent Bernat <vincent@bernat.ch>
Sat, 8 Oct 2022 11:41:57 +0000 (13:41 +0200)
Fix #550

src/lib/lldpctl.h

index 6774ed1eec140899de88b151c345b12118c5fc6e..3b8fa3284e4325d5b8b4c1cad07b11335e1b8acc 100644 (file)
@@ -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;