mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
This broke correct detection of primary/secondary -- the person in that thread may have had some other config issue, but this broke working/valid configurations. Revert "Correct check to match the right vip based on configured ip. Reported-by: http://forum.pfsense.org/index.php/topic,66234.0.html"
This reverts commit 25f9f33228.
This commit is contained in:
parent
a3d6166bb2
commit
b832d61759
@ -448,9 +448,10 @@ EOD;
|
||||
* does it match up to a defined vip?
|
||||
*/
|
||||
$skew = 110;
|
||||
if(is_array($config['virtualip']['vip'])) {
|
||||
foreach ($config['virtualip']['vip'] as $vipent) {
|
||||
if($vipent['subnet'] == $intip) {
|
||||
$a_vip = &$config['virtualip']['vip'];
|
||||
if(is_array($a_vip)) {
|
||||
foreach ($a_vip as $vipent) {
|
||||
if($int == $real_dhcpif) {
|
||||
/* this is the interface! */
|
||||
if(is_numeric($vipent['advskew']) && ($vipent['advskew'] < "20"))
|
||||
$skew = 0;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user