summaryrefslogtreecommitdiffstats
path: root/etc/inc/interfaces.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-07-31 05:21:22 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-07-31 05:21:22 +0000
commit4d370e036618c261926ca536031e1a760872cc3b (patch)
tree3fcc5f10996e8cdb2dd8b6533e5fea8bce741ea0 /etc/inc/interfaces.inc
parent505e4a1948f6bdfc7ec6a9b3e5a3e22175dda213 (diff)
downloadpfsense-4d370e036618c261926ca536031e1a760872cc3b.zip
pfsense-4d370e036618c261926ca536031e1a760872cc3b.tar.gz
Correctly bring up optional interfaces dhcp
Diffstat (limited to 'etc/inc/interfaces.inc')
-rw-r--r--etc/inc/interfaces.inc2
1 files changed, 1 insertions, 1 deletions
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']));
OpenPOWER on IntegriCloud