]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
add definition for IPPROTO_SCTP for systems with old header files
authorHarald Welte <laforge@gnumonks.org>
Thu, 4 Mar 2004 07:45:30 +0000 (07:45 +0000)
committerHarald Welte <laforge@gnumonks.org>
Thu, 4 Mar 2004 07:45:30 +0000 (07:45 +0000)
include/iptables.h

index a0dda602223c3d6965ed21fda35cef1e9d37ae35..5aca69a6a0a9ba31874fb8c0681e20e04b403ef4 100644 (file)
@@ -4,6 +4,10 @@
 #include "iptables_common.h"
 #include "libiptc/libiptc.h"
 
+#ifndef IPPROTO_SCTP
+#define IPPROTO_SCTP 132
+#endif
+
 struct iptables_rule_match
 {
        struct iptables_rule_match *next;