diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-03-03 16:51:41 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-03-03 16:51:41 +0000 |
commit | 2711dca00f05bbb10d8a97c1e0e8fe5bbce6a356 (patch) | |
tree | c82f0e5e92fb3bf61e6bdf22a8a6994b2cb4c998 | |
parent | 2cb454db2023b4193a593bee61ca9776b9403fb9 (diff) | |
download | pfsense-2711dca00f05bbb10d8a97c1e0e8fe5bbce6a356.zip pfsense-2711dca00f05bbb10d8a97c1e0e8fe5bbce6a356.tar.gz |
If no ip is assigned, wrap the second interface with ()
-rw-r--r-- | etc/inc/filter.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc index 06d9c73..4124926 100644 --- a/etc/inc/filter.inc +++ b/etc/inc/filter.inc @@ -1632,7 +1632,10 @@ function create_firewall_outgoing_rules_to_itself() { /* XXX - billm: temp fix for pppoe, needs better fix */ if($config['interfaces'][$ifname]['ipaddr'] != "") $rule .="pass out quick on {$int} inet from {$int} to any keep state\n"; + else + $rule .="pass out quick on {$int} inet from ({$int}) to any keep state\n"; } + } return $rule; } |