From 78cafdaf474a333fa39efab4aa4c9aed88ab9518 Mon Sep 17 00:00:00 2001 From: Martin Josefsson Date: Mon, 2 Feb 2004 20:01:18 +0000 Subject: Make sure to use matches in the order they are given when calling do_command() multiple times. --- iptables-save.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'iptables-save.c') 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); -- cgit v1.2.3