make patches against iptables apply again after update to 1.4.4 (#5540)
[openwrt/staging/yousong.git] / package / iptables / patches / 1.4.4 / 009-table-alignment.patch
diff --git a/package/iptables/patches/1.4.4/009-table-alignment.patch b/package/iptables/patches/1.4.4/009-table-alignment.patch
new file mode 100644 (file)
index 0000000..b11c0af
--- /dev/null
@@ -0,0 +1,11 @@
+--- a/libiptc/libiptc.c
++++ b/libiptc/libiptc.c
+@@ -69,7 +69,7 @@
+ struct ipt_error_target
+ {
+       STRUCT_ENTRY_TARGET t;
+-      char error[TABLE_MAXNAMELEN];
++      char error[FUNCTION_MAXNAMELEN];
+ };
+ struct chain_head;