diff options
author | rusty <rusty> | 2000-05-02 16:44:29 +0000 |
---|---|---|
committer | rusty <rusty> | 2000-05-02 16:44:29 +0000 |
commit | d75973ecfba773c8bdd18e53d9280e6b0b82dd60 (patch) | |
tree | 96387a7ab0015cfc02239df6a9a8f6f311a4a218 /iptables-save.c | |
parent | bf0024dfe898331ec4387ebe15bc968383663d01 (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 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); |