summaryrefslogtreecommitdiff
path: root/package/iptables-snmp/patches/patch-iptables-snmp_c
diff options
context:
space:
mode:
Diffstat (limited to 'package/iptables-snmp/patches/patch-iptables-snmp_c')
-rw-r--r--package/iptables-snmp/patches/patch-iptables-snmp_c12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/iptables-snmp/patches/patch-iptables-snmp_c b/package/iptables-snmp/patches/patch-iptables-snmp_c
new file mode 100644
index 000000000..c129ff0e9
--- /dev/null
+++ b/package/iptables-snmp/patches/patch-iptables-snmp_c
@@ -0,0 +1,12 @@
+--- iptables-snmp-0.1.orig/iptables-snmp.c 2005-11-02 12:10:54.000000000 +0100
++++ iptables-snmp-0.1/iptables-snmp.c 2011-01-12 15:46:19.000000000 +0100
+@@ -37,6 +37,9 @@
+
+ #include "libiptc/libiptc.h"
+
++/* For backward compatibility */
++//typedef struct iptc_handle *iptc_handle_t;
++
+ static oid agent_version_oid[] = {
+ BASE_OID, 1, 0, AGENT_VERSION_INDEX
+ };