diff options
author | Rusty Russell <rusty@linuxcare.com.au> | 2000-05-02 16:44:29 +0000 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2000-05-02 16:44:29 +0000 |
commit | 52a5149d58d027168b86855106f975a2364e7505 (patch) | |
tree | 96387a7ab0015cfc02239df6a9a8f6f311a4a218 /iptables-save.c | |
parent | 5622f21d22a4cbadc7587989c13e69fed030ee49 (diff) |
Module loading now can be compulsory.
Diffstat (limited to 'iptables-save.c')
-rw-r--r-- | iptables-save.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/iptables-save.c b/iptables-save.c index 6b0e4199..2a86718e 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); |