Revision 0715ad50
Added by Jim Pingle over 12 years ago
etc/inc/gwlb.inc | ||
---|---|---|
563 | 563 |
|
564 | 564 |
/* Process/add dynamic v6 gateways. */ |
565 | 565 |
foreach($iflist as $ifname => $friendly ) { |
566 |
/* If the user has disabled IPv6, they probably don't want any IPv6 gateways. */ |
|
567 |
if (!isset($config['system']['ipv6allow'])) |
|
568 |
break; |
|
569 |
|
|
566 | 570 |
if(! interface_has_gatewayv6($ifname)) |
567 | 571 |
continue; |
568 | 572 |
|
Also available in: Unified diff
If the user has IPv6 disabled, don't create dynamic IPv6 gateways.