mnl: fix broken sequence number allocation
Pablo Neira Ayuso
maintainerPATCH 1/1 mnl: fix broken sequence number allocation
Wrong arithmetics with pointer.
Fixes 0d9d04c31481 ("src: make netlink sequence number non-static")
Signed-off-by Pablo Neira Ayuso <[email protected]>
--- src/mnl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
src/mnl.c +1 -1
@@ -32,7 +32,7 @@uint32_t mnl_seqnum_alloc (unsigned int *seqnum) { -return *seqnum++; +return (*seqnum)++; }/* The largest nf_tables netlink message is the set element message, which
Signature · 1 line
2.1.4