Skip to contentSkip to conversation

libnetlink_conntrack compile fix

PATCH Applied Thomas Jarosch 2 participants 2 messages Mar 16, 2007 netfilter

lore
Share & tools
lore
#0 lore raw

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
diff -u -r -p libnetfilter_conntrack-20070315/include/internal.h libnetfilter_conntrack.fixed/include/internal.h
@@ -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);
#1 lore raw
Quoted 4 lines · Thomas Jarosch

Hello,

attached patch fixes compilation of libnetlink_conntrack for 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.