Revision d250c083
Added by Jim Pingle over 3 years ago
src/etc/inc/gwlb.inc | ||
---|---|---|
657 | 657 |
unset($gateway['defaultgw']); |
658 | 658 |
} |
659 | 659 |
|
660 |
$ifinfo = get_interface_info($gateway['interface']); |
|
661 |
if (empty($config['interfaces'][$gateway['interface']]) || |
|
662 |
($ifinfo['status'] == 'down') || ($ifinfo['status'] == 'no carrier')) { |
|
660 |
if (empty($config['interfaces'][$gateway['interface']])) { |
|
663 | 661 |
if ($inactive === false) { |
664 | 662 |
continue; |
665 | 663 |
} else { |
Also available in: Unified diff
Revert "Skip gateway if interface is down. Fixes #12920"
This breaks some gateway operations because the gateways disappear
entirely when the interface loses link.
This reverts commit c07c5cf5f2387cb2b9efdf25545bafebfa414f00.