diff options
author | smos <seth.mos@dds.nl> | 2011-11-22 20:06:37 +0100 |
---|---|---|
committer | smos <seth.mos@dds.nl> | 2011-11-22 20:06:37 +0100 |
commit | 361bb4a9532616c480106ec373a15c1d28adc069 (patch) | |
tree | 004a65c564409c0c95d201a33251b588d45500cb /etc/inc | |
parent | 7d504365335a3ad0c65538ce77d95ab66a077e27 (diff) | |
download | pfsense-361bb4a9532616c480106ec373a15c1d28adc069.zip pfsense-361bb4a9532616c480106ec373a15c1d28adc069.tar.gz |
Correct logic mismatch, skip on RA mode disabled and dhcp is not enabled.
Fix ticket #2022
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/services.inc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/etc/inc/services.inc b/etc/inc/services.inc index 430adcb..f47f486 100644 --- a/etc/inc/services.inc +++ b/etc/inc/services.inc @@ -92,7 +92,10 @@ EOD; $rtadvdnum = 0; $rtadvdifs=array(); foreach ($dhcpdv6cfg as $dhcpv6if => $dhcpv6ifconf) { - if($dhcpv6ifconf['mode'] != "enable") + if($dhcpv6ifconf['mode'] == "disabled") + continue; + + if(! isset($dhcpv6ifconf['enable']) continue; $realif = get_real_interface($dhcpv6if); |