diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-08-16 21:22:05 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-08-16 21:22:05 +0000 |
commit | 1223f92234344fa28b20867bd66358eff2ec2f8d (patch) | |
tree | 4a286dccbd2da1571fdd20eb2431a16aaad1a2ea /etc | |
parent | aab78cf675ca05db9645e6a9e421c27cb20c5d53 (diff) | |
download | pfsense-1223f92234344fa28b20867bd66358eff2ec2f8d.zip pfsense-1223f92234344fa28b20867bd66358eff2ec2f8d.tar.gz |
Use correct interface
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/interfaces.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc index 2168d25..3fe7984 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -281,7 +281,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'])); @@ -610,7 +610,7 @@ function interfaces_wan_configure() { function interfaces_opt_dhcp_configure($interface) { global $config, $g; - $optcfg = $config['interfaces']['opt{$interface}']; + $optcfg = $config['interfaces'][$interface]; $optif = $optcfg['if']; /* generate dhclient_wan.conf */ |