summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/inc/filter.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc
index 0181e03..f238f84 100644
--- a/etc/inc/filter.inc
+++ b/etc/inc/filter.inc
@@ -3067,10 +3067,10 @@ function create_firewall_outgoing_rules_to_itself() {
update_filter_reload_status("Creating IPsec tunnel items {$tunnel['descr']}...");
$ip = find_interface_ip($int);
if ($config['interfaces'][$ifname]['ipaddr'] == "pppoe") {
- $int = " { " . filter_translate_type_to_real_interface($ifname) . " ng0 } ";
/* first add a rule for the real interface, then for ng0 */
- $rule .="pass out quick on {$int} all keep state label \"let out anything from firewall host itself\"\n";
+ $int = " { " . filter_translate_type_to_real_interface($ifname) . " ng0 } ";
}
+ $rule .="pass out quick on {$int} all keep state label \"let out anything from firewall host itself\"\n";
}
update_filter_reload_status("Setting up bridging items");
OpenPOWER on IntegriCloud