summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2010-08-17 19:58:15 +0000
committerErmal <eri@pfsense.org>2010-08-17 19:58:15 +0000
commit6991dcb1b1ab5b9ab79d411b77f27bc388e50471 (patch)
tree1512e376ceb3d301b8739ea2772f83ee72206b30
parent07676e3699b0d92667c0df11493e604592d3a809 (diff)
downloadpfsense-6991dcb1b1ab5b9ab79d411b77f27bc388e50471.zip
pfsense-6991dcb1b1ab5b9ab79d411b77f27bc388e50471.tar.gz
Reshufling for better reading of code.
-rw-r--r--etc/inc/interfaces.inc5
1 files changed, 2 insertions, 3 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index 6477095..3147f30 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -2422,10 +2422,9 @@ function interface_configure($interface = "wan", $reloadall = false) {
if(does_interface_exist($wancfg['if']))
interfaces_bring_up($wancfg['if']);
- if (!$g['booting'])
- interface_reload_carps($realif);
-
if (!$g['booting']) {
+ interface_reload_carps($realif);
+
unset($gre);
$gre = link_interface_to_gre($interface);
if (!empty($gre))
OpenPOWER on IntegriCloud