From: Vincent Bernat Date: Sun, 15 Oct 2023 17:58:33 +0000 (+0200) Subject: lib: bump API/ABI X-Git-Tag: 1.0.18~30 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=52dd0b674f69966e6e59fa82bc7a778187a14dab;p=thirdparty%2Flldpd.git lib: bump API/ABI 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) --- diff --git a/src/lib/Makefile.am b/src/lib/Makefile.am index 6cc6bc4d..2ed037bb 100644 --- a/src/lib/Makefile.am +++ b/src/lib/Makefile.am @@ -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 diff --git a/src/lib/lldpctl.h b/src/lib/lldpctl.h index cc6e12a2..cea5706f 100644 --- a/src/lib/lldpctl.h +++ b/src/lib/lldpctl.h @@ -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. */