Skip to contentSkip to conversation

src: fix LIBVERSION, should be 3:0:0 instead of 3:0:3

PATCH New Pablo Neira Ayuso 1 participant 1 message Sep 16, 2015 netfilter

lore
Share & tools
lore

Pablo Neira Ayuso

author maintainer
#0 lore raw

PATCH 1/1 src: fix LIBVERSION, should be 3:0:0 instead of 3:0:3

nft_rule_expr_build_payload() is gone, so age should have been reset at that time.

Fixes 5ea54b224a11 ("expr: seperate expression parsing and building")

---
This applies on top on the previous patches to address map file problems for libnftnl.

Thinking it well, I would like to stick have the release versions used from the map file, as it is easier to track when symbols were added.

The LIBVERSION should help binaries to catch if they are working with the right interface version (now libnftnl.so.3), this handles the "interfaces are gone" case for us.

 Make_global.am |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Make_global.am +1 -1
index 14ddeef..8f0673c 100644
@@ -18,7 +18,7 @@
 # set age to 0.
 # </snippet>
 #
-LIBVERSION=3:0:3
+LIBVERSION=3:0:0
 
 AM_CPPFLAGS = ${regular_CPPFLAGS} -I${top_srcdir}/include ${LIBMNL_CFLAGS} ${LIBMXML_CFLAGS}
 AM_CFLAGS = ${regular_CFLAGS} ${GCC_FVISIBILITY_HIDDEN}

--
1.7.10.4