]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
lib: bump API/ABI
authorVincent Bernat <vincent@bernat.ch>
Sun, 15 Oct 2023 17:58:33 +0000 (19:58 +0200)
committerVincent Bernat <vincent@bernat.ch>
Sun, 15 Oct 2023 18:01:51 +0000 (20:01 +0200)
Due to previous change, it seems safer to bump the API/ABI as it would
be easy to reuse the numbers introduced by 802.3bt.

Fix #404 (as a side-effect)

src/lib/Makefile.am
src/lib/lldpctl.h

index 6cc6bc4d3f81159b7b42eb36366efbf96243f26a..2ed037bb162545ac54546a5c1b6367f953df32c2 100644 (file)
@@ -54,7 +54,7 @@ CLEANFILES = atom-glue.c
 # -version-number could be computed from -version-info, mostly major
 # is `current` - `age`, minor is `age` and revision is `revision' and
 # major.minor should be used when updating lldpctl.map.
-liblldpctl_la_LDFLAGS = $(AM_LDFLAGS) -version-info 13:1:9
+liblldpctl_la_LDFLAGS = $(AM_LDFLAGS) -version-info 14:0:10
 liblldpctl_la_DEPENDENCIES = libfixedpoint.la
 
 if HAVE_LD_VERSION_SCRIPT
index cc6e12a29944baafdadb895ac96cfeee2a3c4f31..cea5706f897d8c24cbbe8e6baf9d74eddf275409 100644 (file)
@@ -865,8 +865,8 @@ typedef enum {
                                            `LLDP_MED_POW_PRIO_*` */
        lldpctl_k_med_power_val,         /**< `(I,W)` LLDP MED power value */
 
-       lldpctl_k_mgmt_ip = 3000,           /**< `(S)` IP address */
-       lldpctl_k_mgmt_iface_index = 30001, /**< `(I)` Interface index */
+       lldpctl_k_mgmt_ip = 3000,   /**< `(S)` IP address */
+       lldpctl_k_mgmt_iface_index, /**< `(I)` Interface index */
 
        lldpctl_k_tx_cnt = 4000,    /**< `(I)` tx cnt. Only works for a local port. */
        lldpctl_k_rx_cnt,           /**< `(I)` rx cnt. Only works for a local port. */