]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
lib: move new lldpctl_k_config_cid_string to end of section
authorVincent Bernat <vincent@bernat.im>
Sat, 30 Dec 2017 11:52:03 +0000 (12:52 +0100)
committerVincent Bernat <vincent@bernat.im>
Sat, 30 Dec 2017 11:52:03 +0000 (12:52 +0100)
Otherwise, ABI would change.

src/lib/lldpctl.h

index 07b86d441d5c9b01bf30e61170a1720db01eb574..f783f252feca486becf5aa746aa9ca2bbe91de3e 100644 (file)
@@ -653,7 +653,6 @@ typedef enum {
        lldpctl_k_config_mgmt_pattern, /**< `(S,WON)` Pattern to choose the management address */
        lldpctl_k_config_iface_pattern, /**< `(S,WON)` Pattern of enabled interfaces */
        lldpctl_k_config_cid_pattern,   /**< `(S)` Interface pattern to choose the chassis ID */
-       lldpctl_k_config_cid_string,    /**< `(S)` User defined string for the chassis ID */
        lldpctl_k_config_description,   /**< `(S,WON)` Chassis description overridden */
        lldpctl_k_config_platform,      /**< `(S,WON)` Platform description overridden (CDP) */
        lldpctl_k_config_hostname,      /**< `(S,WON)` System name overridden */
@@ -666,6 +665,7 @@ typedef enum {
        lldpctl_k_config_iface_promisc,  /**< `(I,WO)` Enable or disable promiscuous mode on interfaces */
        lldpctl_k_config_chassis_cap_advertise, /**< `(I,WO)` Enable or disable chassis capabilities advertisement */
        lldpctl_k_config_chassis_mgmt_advertise, /**< `(I,WO)` Enable or disable management addresses advertisement */
+       lldpctl_k_config_cid_string,    /**< `(S)` User defined string for the chassis ID */
 
        lldpctl_k_interface_name = 1000, /**< `(S)` The interface name. */