Skip to content

Commit

Permalink
Modified interface DHCP in RUN
Browse files Browse the repository at this point in the history
  • Loading branch information
ohtarr committed Jul 8, 2020
1 parent 7273e4b commit f911e2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cisco_ios_parse.php
Original file line number Diff line number Diff line change
Expand Up @@ -612,7 +612,7 @@ public static function parse_interface_config($INTCFG)
}
if(preg_match("/ip address (dhcp|negotiated)/", $INTCFG, $HITS1))
{
$INTARRAY['ip'][$HITS1[1]] = 1;
$INTARRAY[$HITS1[1]] = 1;
}
if(preg_match_all("/ip helper-address (\S+)/", $INTCFG, $HITS1))
{
Expand Down

0 comments on commit f911e2d

Please sign in to comment.