Signed-off-by: Stefan Schantl stefan.schantl@ipfire.org --- config/firewall/rules.pl | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/config/firewall/rules.pl b/config/firewall/rules.pl index 83216e78a..57f4809b4 100644 --- a/config/firewall/rules.pl +++ b/config/firewall/rules.pl @@ -695,6 +695,9 @@ sub drop_hostile_networks () { return; }
+ # Exit if there is no red interface. + return unless($RED_DEV); + # Call function to load the network list of hostile networks. &ipset_restore($HOSTILE_CCODE);