diff options
author | Ermal LUÇI <eri@pfsense.org> | 2014-11-27 15:13:34 +0100 |
---|---|---|
committer | Ermal LUÇI <eri@pfsense.org> | 2014-11-27 15:13:34 +0100 |
commit | 4ce77a6caddbe1cb76f58709deba20ba06903165 (patch) | |
tree | d4657e5b1726482b3f51d1c51c3047eae0564acf | |
parent | 7e677d8555d2eba1f72d2b3581b3042005c78544 (diff) | |
download | pfsense-4ce77a6caddbe1cb76f58709deba20ba06903165.zip pfsense-4ce77a6caddbe1cb76f58709deba20ba06903165.tar.gz |
Correct logic of skipping for gif/gre/bridge on top of _vips. Even though this is not anymore a problem in 10 since the vip is on the physical interface but for now its ok.
-rw-r--r-- | etc/inc/interfaces.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc index 4f32f62..24db3c4 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -443,7 +443,7 @@ function interfaces_bridge_configure($checkmember = 0, $realif = "") { } } else if ($checkmember == 2) { - if (strstr($bridge['if'], "_vip")) + if (!strstr($bridge['if'], "_vip")) continue; $members = explode(',', $bridge['members']); foreach ($members as $member) { @@ -747,7 +747,7 @@ function interfaces_gre_configure($checkparent = 0, $realif = "") { continue; } else if ($checkparent == 2) { - if (strstr($gre['if'], "_vip")) + if (!strstr($gre['if'], "_vip")) continue; if (empty($config['interfaces'][$gre['if']]) || $config['interfaces'][$gre['if']]['ipaddrv6'] != "track6") continue; @@ -828,7 +828,7 @@ function interfaces_gif_configure($checkparent = 0, $realif = "") { continue; } else if ($checkparent == 2) { - if (strstr($gif['if'], "_vip")) + if (!strstr($gif['if'], "_vip")) continue; if (empty($config['interfaces'][$gif['if']]) || $config['interfaces'][$gif['if']]['ipaddrv6'] != "track6") continue; |