diff options
Diffstat (limited to 'lib/Vyatta/Misc.pm')
-rwxr-xr-x | lib/Vyatta/Misc.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Vyatta/Misc.pm b/lib/Vyatta/Misc.pm index 7f5e506..cdbbef9 100755 --- a/lib/Vyatta/Misc.pm +++ b/lib/Vyatta/Misc.pm @@ -58,7 +58,7 @@ sub is_dhcp_enabled { if ($outside_cli); $config->setLevel( $intf->path() ); - foreach my $addr ( $config->returnOrigValues('address') ) { + foreach my $addr ( $config->returnOrigPlusComValues('address') ) { return 1 if ( $addr && $addr eq "dhcp" ); } |