If we are an single interface setup we need the anti-lockout rule for wan so correct the parameter to find the right interface.

This commit is contained in:
Ermal Luçi 2008-09-09 15:36:40 +00:00
parent 8da53af88f
commit cd79b2bc83

View File

@ -2228,7 +2228,7 @@ pass in quick on {$lanif} from any to ({$lanif}) keep state label "anti-lockout
EOD;
} else {
/* single-interface deployment, add to WAN */
$wanif = get_real_wan_interface("lan");
$wanif = get_real_wan_interface("wan");
$ipfrules .= <<<EOD
# make sure the user cannot lock himself out of the webConfigurator or SSH
anchor "anti-lockout"