fix ip_tables for user mode.

(Logical change 1.165)
This commit is contained in:
osdl.net!shemminger 2005-03-14 19:33:45 +00:00
parent 627c228ef5
commit aa88498f18

View 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];