diff options
-rw-r--r-- | etc/inc/filter.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc index 6ed4d44..9a303d3 100644 --- a/etc/inc/filter.inc +++ b/etc/inc/filter.inc @@ -1588,7 +1588,8 @@ function create_firewall_outgoing_rules_to_itself() { /* XXX - billm: temp fix for pppoe, needs better fix */ if ($config['interfaces'][$ifname]['ipaddr'] == "pppoe") $int = "ng0"; - $rule .="pass out quick on {$int} inet from {$int} to any keep state\n"; + if($config['interfaces'][$ifname]['ipaddr'] != "") + $rule .="pass out quick on {$int} inet from {$int} to any keep state\n"; } return $rule; } |