diff options
author | Ermal Luçi <eri@pfsense.org> | 2008-07-24 14:43:55 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2008-07-24 14:43:55 +0000 |
commit | 3efa00296a17e03591361c2ef0550ccaaba66c07 (patch) | |
tree | 025c375d9fdc73c747e482185738a526e70eb062 /etc | |
parent | 9bf8bcda6569de524ba76a59d8fd3d90991cfd12 (diff) | |
download | pfsense-3efa00296a17e03591361c2ef0550ccaaba66c07.zip pfsense-3efa00296a17e03591361c2ef0550ccaaba66c07.tar.gz |
Propperly handle reconfiguration of all interfaces for VLAN/GRE/GIF.
VLAN's where wrongly removed by me previously.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/pfsense-utils.inc | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc index d1d5f11..4a47a2a 100644 --- a/etc/inc/pfsense-utils.inc +++ b/etc/inc/pfsense-utils.inc @@ -2526,9 +2526,16 @@ function reload_interfaces_sync() { mwexec("/sbin/ifconfig {$ifname_real} delete"); } + /* set up VLAN interface */ + interfaces_vlan_configure(); + /* set up interfaces */ interfaces_configure(); + /* set up other cloned interfaces */ + interfaces_gif_configure(); + interfaces_gre_configure(); + /* set up static routes */ if($debug) log_error("Configuring system Routing"); @@ -2775,9 +2782,16 @@ function reload_all_sync() { mwexec("/sbin/ifconfig {$ifname_real} delete"); } + /* set up VLAN interfaces */ + interfaces_vlan_configure(); + /* set up interfaces */ interfaces_configure(); + /* set up other cloned interfaces */ + interfaces_gif_configure(); + interfaces_gre_configure(); + /* bring up carp interfaces */ interfaces_carp_configure(); |