Skip to contentSkip to conversation

use correct ipt_physdev.h header in iptables userspace tool

PATCH In review Bart De Schuymer 2 participants 2 messages Oct 25, 2003 – Nov 2, 2003 netfilter

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 use correct ipt_physdev.h header in iptables userspace tool

Hi Harald, this just makes the userspace tool use the right 2.6.0-test8 header file. Remember we broke compatibility to get things working on the parisc?

cheers,
Bart

include/linux/netfilter_ipv4/ipt_physdev.h renamed from include/linux/netfilter_ipv4/ipt_physdev.h.old +2 -2
@@ -13,12 +13,12 @@
 #define IPT_PHYSDEV_OP_MASK		(0x20 - 1)
 
 struct ipt_physdev_info {
-	u_int8_t invert;
-	u_int8_t bitmask;
 	char physindev[IFNAMSIZ];
 	char in_mask[IFNAMSIZ];
 	char physoutdev[IFNAMSIZ];
 	char out_mask[IFNAMSIZ];
+	u_int8_t invert;
+	u_int8_t bitmask;
 };
 
 #endif /*_IPT_PHYSDEV_H*/
include/linux/netfilter_ipv4/ipt_physdev.h renamed from include/linux/netfilter_ipv4/ipt_physdev.h.old +2 -2
@@ -13,12 +13,12 @@
 #define IPT_PHYSDEV_OP_MASK		(0x20 - 1)
 
 struct ipt_physdev_info {
-	u_int8_t invert;
-	u_int8_t bitmask;
 	char physindev[IFNAMSIZ];
 	char in_mask[IFNAMSIZ];
 	char physoutdev[IFNAMSIZ];
 	char out_mask[IFNAMSIZ];
+	u_int8_t invert;
+	u_int8_t bitmask;
 };
 
 #endif /*_IPT_PHYSDEV_H*/
#1 lore raw
Quoted 3 lines · Bart De Schuymer

Hi Harald, this just makes the userspace tool use the right 2.6.0-test8 header file. Remember we broke compatibility to get things working on the parisc?

thanks Bart, patch applied (I'm just about to release 1.2.9 final).

We really should have a script to check if the userspace/include/linux headers are in-sync with a recent kernel tree.

Any volunteers on the netfilter-devel list?

Quoted 2 lines

cheers,
Bart

Signature · 5 lines
- Harald Welte <[email protected]>             http://www.netfilter.org/
============================================================================
  "Fragmentation is like classful addressing -- an interesting early
   architectural error that shows how much experimentation was going
   on while IP was being designed."                    -- Paul Vixie