Modify

Opened 8 years ago

Closed 7 years ago

#4104 closed defect (fixed)

iptable fix

Reported by: claudyus Owned by: developers
Priority: normal Milestone:
Component: packages Version:
Keywords: iptables Cc:

Description

The proposed patch fix an align structure problem on cris platform as describe by http://lists.netfilter.org/pipermail/netfilter-devel/2007-January/026659.html

This patch fix the problem as report by many user in this post http://www.mail-archive.com/openwrt-devel@lists.openwrt.org/msg01940.html since 20 August

Index: package/iptables/patches/1.4.0/008-table_alignment_fix.patch
===================================================================
--- package/iptables/patches/1.4.0/008-table_alignment_fix.patch	(revisione 0)
+++ package/iptables/patches/1.4.0/008-table_alignment_fix.patch	(revisione 0)
@@ -0,0 +1,13 @@
+#related to  http://lists.netfilter.org/pipermail/netfilter-devel/2007-January/026659.html for cris
+diff -Naur iptables-1.4.0.ori/libiptc/libiptc.c iptables-1.4.0/libiptc/libiptc.c
+--- iptables-1.4.0.ori/libiptc/libiptc.c	2007-12-22 13:44:18.000000000 +0100
++++ iptables-1.4.0/libiptc/libiptc.c	2008-08-19 12:07:47.000000000 +0200
+@@ -63,7 +63,7 @@
+ struct ipt_error_target
+ {
+ 	STRUCT_ENTRY_TARGET t;
+-	char error[TABLE_MAXNAMELEN];
++	char error[FUNCTION_MAXNAMELEN];
+ };
+ 
+ struct chain_head;

Please apply it

Thanks

Attachments (0)

Change History (2)

comment:1 Changed 7 years ago by florian

Is there any reason why iptables-1.4.1 does not contain this fix ?

comment:2 Changed 7 years ago by claudio

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in [14407]

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.