Skip to content

Commit

Permalink
(legacy) Warning: Illegal string offset 'wan' in /usr/local/www/servi…
Browse files Browse the repository at this point in the history
…ces_dhcpv6.php on line 462 Warning
  • Loading branch information
AdSchellevis committed Dec 18, 2015
1 parent faa58ad commit 4e8484a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/www/services_dhcpv6.php
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ function show_netboot_config() {
$i = 0;
foreach ($iflist as $ifent => $ifname) {
$oc = $config['interfaces'][$ifent];
if ((is_array($config['dhcpdv6'][$ifent]) && !isset($config['dhcpdv6'][$ifent]['enable']) && !(is_ipaddrv6($oc['ipaddrv6']) && (!is_linklocal($oc['ipaddrv6'])))) ||
if ((!isset($config['dhcpdv6'][$ifent]['enable']) && !(is_ipaddrv6($oc['ipaddrv6']) && (!is_linklocal($oc['ipaddrv6'])))) ||
(empty($config['dhcpdv6'][$ifent]) && !(is_ipaddrv6($oc['ipaddrv6']) && (!is_linklocal($oc['ipaddrv6'])))))
continue;
if ($ifent == $if)
Expand Down

0 comments on commit 4e8484a

Please sign in to comment.