diff options
Diffstat (limited to 'etc/inc/interfaces.inc')
-rw-r--r-- | etc/inc/interfaces.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc index 3b94989..cb35aa9 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -261,7 +261,7 @@ function interfaces_optional_configure_if($opti) { $bridges_total++; } else { /* if user has selected DHCP type then act accordingly */ - if($optcfg['type'] == 'DHCP') { + if($optcfg['ipaddr'] == "dhcp") { interfaces_opt_dhcp_configure($opti); } else { mwexec("/sbin/ifconfig " . escapeshellarg($optcfg['if']) . " " . |