diff options
author | Martin Josefsson <gandalf@wlug.westbo.se> | 2004-02-02 20:01:18 +0000 |
---|---|---|
committer | Martin Josefsson <gandalf@wlug.westbo.se> | 2004-02-02 20:01:18 +0000 |
commit | 78cafdaf474a333fa39efab4aa4c9aed88ab9518 (patch) | |
tree | aaf959b4996a3d1eed834e89d5a4379358a1fa0a /iptables-save.c | |
parent | 4e5e29adf4d3946253351b871aececfe652239b2 (diff) |
Make sure to use matches in the order they are given when calling do_command() multiple times.
Diffstat (limited to 'iptables-save.c')
-rw-r--r-- | iptables-save.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/iptables-save.c b/iptables-save.c index 90163b50..41173ead 100644 --- a/iptables-save.c +++ b/iptables-save.c @@ -111,7 +111,7 @@ static int print_match(const struct ipt_entry_match *e, const struct ipt_ip *ip) { struct iptables_match *match - = find_match(e->u.user.name, TRY_LOAD); + = find_match(e->u.user.name, TRY_LOAD, NULL); if (match) { printf("-m %s ", e->u.user.name); |