Commit aa88498f authored by osdl.net!shemminger's avatar osdl.net!shemminger

fix ip_tables for user mode.

(Logical change 1.165)
parent 627c228e
...@@ -251,8 +251,9 @@ struct ipt_replace ...@@ -251,8 +251,9 @@ struct ipt_replace
/* Information about old entries: */ /* Information about old entries: */
/* Number of counters (must be equal to current number of entries). */ /* Number of counters (must be equal to current number of entries). */
unsigned int num_counters; unsigned int num_counters;
/* The old entries' counters. */ /* The old entries' counters. */
struct ipt_counters __user *counters; struct ipt_counters *counters;
/* The entries (hang off end: not really an array). */ /* The entries (hang off end: not really an array). */
struct ipt_entry entries[0]; struct ipt_entry entries[0];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment