]> git.proxmox.com Git - mirror_iproute2.git/commitdiff
fix ip_tables for user mode.
authorosdl.net!shemminger <osdl.net!shemminger>
Mon, 14 Mar 2005 19:33:45 +0000 (19:33 +0000)
committerosdl.net!shemminger <osdl.net!shemminger>
Mon, 14 Mar 2005 19:33:45 +0000 (19:33 +0000)
(Logical change 1.165)

include/linux/netfilter_ipv4/ip_tables.h

index 4f0afc57da53307b4389ad6522364ac519b17228..7346eada57b9260395cf1e4d1e486cb1f7140e76 100644 (file)
@@ -251,8 +251,9 @@ struct ipt_replace
        /* Information about old entries: */
        /* Number of counters (must be equal to current number of entries). */
        unsigned int num_counters;
+
        /* The old entries' counters. */
-       struct ipt_counters __user *counters;
+       struct ipt_counters  *counters;
 
        /* The entries (hang off end: not really an array). */
        struct ipt_entry entries[0];