summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorbcyrill <cyrill@bannwart.info>2013-01-18 01:26:57 +0100
committerbcyrill <cyrill@bannwart.info>2013-01-18 01:26:57 +0100
commit15d15c7fda6ad35e5647f088e9b2787508ba8c9d (patch)
treedc57ea03693e08c8b86c4b3b5dd6d974283cd33f /etc
parentdbf2dde48728f71e1e2a536cedb61a67a6b47e4e (diff)
downloadpfsense-15d15c7fda6ad35e5647f088e9b2787508ba8c9d.zip
pfsense-15d15c7fda6ad35e5647f088e9b2787508ba8c9d.tar.gz
Update etc/inc/interfaces.inc
As noted in http://forum.pfsense.org/index.php/topic,57849.0.html
Diffstat (limited to 'etc')
-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 32b59d5..45271c9 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -3418,7 +3418,7 @@ EOD;
log_error(printf(gettext("Could not bring up %s interface in interface_dhcp_configure()"), $wanif));
/* fire up dhclient */
- mwexec("/sbin/dhclient -c {$g['varetc_path']}/dhclient_{$interface}.conf {$wanif} > {$g['tmp_path']}/{$wanif}_output > {$g['tmp_path']}/{$wanif}_error_output");
+ mwexec("/sbin/dhclient -c {$g['varetc_path']}/dhclient_{$interface}.conf {$wanif} > {$g['tmp_path']}/{$wanif}_output 2> {$g['tmp_path']}/{$wanif}_error_output");
return 0;
}
OpenPOWER on IntegriCloud