diff options
author | Seth Mos <seth.mos@xs4all.nl> | 2008-11-06 15:31:26 +0000 |
---|---|---|
committer | Seth Mos <seth.mos@xs4all.nl> | 2008-11-06 15:31:26 +0000 |
commit | 332683cb63d7111b44c14751a349538e84da3a1e (patch) | |
tree | 1864a43de046e95c0de09dbbb3d1c8ec771ee7f5 /etc | |
parent | 34b45204acabfd9ab07b80f98318c86b3f2ffd8e (diff) | |
download | pfsense-332683cb63d7111b44c14751a349538e84da3a1e.zip pfsense-332683cb63d7111b44c14751a349538e84da3a1e.tar.gz |
Surpress message when trying to remove alias address
Diffstat (limited to 'etc')
-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 d1aca0e..01a1dc9 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -1249,7 +1249,7 @@ function interface_configure($interface = "wan") if (!$g['booting']) { /* remove all addresses first */ - while (mwexec("/sbin/ifconfig " . escapeshellarg($realif) . " -alias") == 0); + while (mwexec("/sbin/ifconfig " . escapeshellarg($realif) . " -alias", true) == 0); mwexec("/sbin/ifconfig " . escapeshellarg($wancfg['if']) . " down"); } /* wireless configuration? */ |