From 52dd0b674f69966e6e59fa82bc7a778187a14dab Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Sun, 15 Oct 2023 19:58:33 +0200 Subject: [PATCH] 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) --- src/lib/Makefile.am | 2 +- src/lib/lldpctl.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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. */ -- 2.39.5