libnetlink_conntrack compile fix
PATCH 1/1 libnetlink_conntrack compile fix
Hello,
attached patch fixes compilation of libnetlink_conntrack for old glibc versions.
Cheers,
Thomas
PS: Patrick, when do you get up in the morning?! I just noticed you first reply was around 5 o' clock...
include/internal.h +4 -0
@@ -22,6 +22,10 @@#include <libnfnetlink/libnfnetlink.h> #include <libnetfilter_conntrack/libnetfilter_conntrack.h> +#ifndef IPPROTO_SCTP +#define IPPROTO_SCTP 132 +#endif +struct nfct_handle ;typedef void (*set_attr )(struct nf_conntrack *ct,const void *value);
Patrick McHardy
AppliedQuoted 4 lines · Thomas Jarosch
Hello,
attached patch fixes compilation of
libnetlink_conntrackfor old glibc versions.
Applied, thanks.
Quoted 2 lines
PS: Patrick, when do you get up in the morning?! I just noticed you first reply was around 5 o' clock...
It depends .. today it was yesterday morning :) My sleeping rhythm is quite unstable, so it changes from week to week.