summaryrefslogtreecommitdiffstats
path: root/iptables-save.c
diff options
context:
space:
mode:
authorgandalf <gandalf>2004-02-02 20:01:18 +0000
committergandalf <gandalf>2004-02-02 20:01:18 +0000
commit58cd974ad5fc5635375a2802d070c836da79e36f (patch)
treeaaf959b4996a3d1eed834e89d5a4379358a1fa0a /iptables-save.c
parent9fa09dff1c5bbc7a01f45aa6c3f6e4eaab5fc683 (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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/iptables-save.c b/iptables-save.c
index 90163b5..41173ea 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);