From d75973ecfba773c8bdd18e53d9280e6b0b82dd60 Mon Sep 17 00:00:00 2001 From: rusty Date: Tue, 2 May 2000 16:44:29 +0000 Subject: Module loading now can be compulsory. --- iptables-save.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'iptables-save.c') diff --git a/iptables-save.c b/iptables-save.c index 6b0e419..2a86718 100644 --- a/iptables-save.c +++ b/iptables-save.c @@ -123,7 +123,8 @@ static void print_rule(const struct ipt_entry *e, int counters) /* Print matchinfo part */ if (e->match_name[0]) { - struct iptables_match *match = find_match(e->match_name, 1); + struct iptables_match *match + = find_match(e->match_name, TRY_LOAD); if (match) match->save(e); @@ -142,7 +143,7 @@ static void print_rule(const struct ipt_entry *e, int counters) /* Print targinfo part */ if (e->target_name[0]) { struct iptables_target *target - = find_target(e->target_name, 1); + = find_target(e->target_name, TRY_LOAD); if (target) target->save(e); -- cgit v1.2.3