summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Vyatta/IpTables/Rule.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Vyatta/IpTables/Rule.pm b/lib/Vyatta/IpTables/Rule.pm
index 5fec1b3..6105ae7 100644
--- a/lib/Vyatta/IpTables/Rule.pm
+++ b/lib/Vyatta/IpTables/Rule.pm
@@ -309,6 +309,7 @@ sub get_num_ipt_rules {
if (("$self->{_log}" eq "enable") && (("$self->{_action}" eq "drop")
|| ("$self->{_action}" eq "accept")
|| ("$self->{_action}" eq "reject")
+ || ("$self->{_action}" eq "inspect")
|| ("$self->{_action}" eq "modify"))) {
$ipt_rules += 1;
$ipt_rules++ if $protocol_tcpudp == 1;