diff options
author | Ermal Luçi <eri@pfsense.org> | 2008-11-07 23:18:01 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2008-11-07 23:18:01 +0000 |
commit | 039f7491631f57533a2bd4a15c9a211f61d00235 (patch) | |
tree | 81f9296594a77f09672747cae4a27284b70ef671 /etc | |
parent | d7147b1c5658158f5cf92ae11bc6718df2a14901 (diff) | |
download | pfsense-039f7491631f57533a2bd4a15c9a211f61d00235.zip pfsense-039f7491631f57533a2bd4a15c9a211f61d00235.tar.gz |
Reorder the calling.
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 57bc6b0..d8789b8 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -1250,11 +1250,11 @@ function interface_configure($interface = "wan") $realif = get_real_interface($interface); if(!$g['booting']) { - interface_bring_down($interface); - /* remove all addresses first */ while (mwexec("/sbin/ifconfig " . escapeshellarg($realif) . " -alias", true) == 0); mwexec("/sbin/ifconfig " . escapeshellarg($wancfg['if']) . " down"); + + interface_bring_down($interface); } /* wireless configuration? */ if (is_array($wancfg['wireless'])) |