added break for getting wan dhcp details as more than a few interfaces would break it
This commit is contained in:
@@ -114,6 +114,8 @@ do {
|
||||
if ($ifcfg['descr'] == 'WAN') {
|
||||
# this will have all the information about the WAN interface
|
||||
$ifcfg['details'] = $ifdetails[$ifcfg['if']];
|
||||
# this will break out the loop and leave the $ifcfg with the details of the wan
|
||||
break;
|
||||
#print_r($ifcfg);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user