From 7e00db319e5078c1f290e63a968af0c507c99bd4 Mon Sep 17 00:00:00 2001 From: goodNETnick Date: Tue, 11 Jan 2022 22:56:33 -0500 Subject: firewall: T4100: default action number --- lib/Vyatta/IpTables/Rule.pm | 2 +- scripts/firewall/vyatta-firewall.pl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Vyatta/IpTables/Rule.pm b/lib/Vyatta/IpTables/Rule.pm index 5f1e0a4..034ecfe 100755 --- a/lib/Vyatta/IpTables/Rule.pm +++ b/lib/Vyatta/IpTables/Rule.pm @@ -68,7 +68,7 @@ my %fields = ( ); my %dummy_rule = ( - _rule_number => 10000, + _rule_number => 1000000, _protocol => "all", _state => { _established => undef, diff --git a/scripts/firewall/vyatta-firewall.pl b/scripts/firewall/vyatta-firewall.pl index e6fa85a..270007b 100755 --- a/scripts/firewall/vyatta-firewall.pl +++ b/scripts/firewall/vyatta-firewall.pl @@ -28,7 +28,7 @@ my $FW_LOCAL_HOOK = 'VYATTA_FW_LOCAL_HOOK'; # FW_LOCALOUT_HOOK is only used in mangle table for PBR of locally initiated traffic my $FW_LOCALOUT_HOOK = 'VYATTA_FW_LOCALOUT_HOOK'; -my $max_rule = 10000; +my $max_rule = 1000000; my (@setup, @updateints, @updaterules); my ($teardown, $teardown_ok); -- cgit v1.2.3