added break for getting wan dhcp details as more than a few interfaces would break it

This commit is contained in:
2021-12-02 15:05:56 -05:00
parent a99b09ee7b
commit eb67dc2972

View File

@@ -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);
}
}