From 4d370e036618c261926ca536031e1a760872cc3b Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sun, 31 Jul 2005 05:21:22 +0000 Subject: Correctly bring up optional interfaces dhcp --- etc/inc/interfaces.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc/inc/interfaces.inc') diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc index cb35aa9..2656fc9 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -262,7 +262,7 @@ function interfaces_optional_configure_if($opti) { } else { /* if user has selected DHCP type then act accordingly */ if($optcfg['ipaddr'] == "dhcp") { - interfaces_opt_dhcp_configure($opti); + interfaces_opt_dhcp_configure("opt" . $opti); } else { mwexec("/sbin/ifconfig " . escapeshellarg($optcfg['if']) . " " . escapeshellarg($optcfg['ipaddr'] . "/" . $optcfg['subnet'])); -- cgit v1.1