Revision 25f9f332
Added by Ermal LUÇI almost 12 years ago
etc/inc/services.inc | ||
---|---|---|
448 | 448 |
* does it match up to a defined vip? |
449 | 449 |
*/ |
450 | 450 |
$skew = 110; |
451 |
$a_vip = &$config['virtualip']['vip']; |
|
452 |
if(is_array($a_vip)) { |
|
453 |
foreach ($a_vip as $vipent) { |
|
454 |
if($int == $real_dhcpif) { |
|
451 |
if(is_array($config['virtualip']['vip'])) { |
|
452 |
foreach ($config['virtualip']['vip'] as $vipent) { |
|
453 |
if($vipent['subnet'] == $intip) { |
|
455 | 454 |
/* this is the interface! */ |
456 | 455 |
if(is_numeric($vipent['advskew']) && ($vipent['advskew'] < "20")) |
457 | 456 |
$skew = 0; |
Also available in: Unified diff
Correct check to match the right vip based on configured ip. Reported-by: http://forum.pfsense.org/index.php/topic,66234.0.html