summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2011-04-28 21:21:11 +0000
committerErmal <eri@pfsense.org>2011-04-28 21:21:11 +0000
commit9cf46050fc708f3a3395c7800acf5d81a69b1013 (patch)
tree1b467bbca34ea337c597b350474b1f90730e1fb8 /etc
parenta7ee57772048f9ef12a684cc02c36b04de412d74 (diff)
downloadpfsense-9cf46050fc708f3a3395c7800acf5d81a69b1013.zip
pfsense-9cf46050fc708f3a3395c7800acf5d81a69b1013.tar.gz
Correct saving of qinq specified members and also correctly destroy parent vlan when deleteing the interfaces. Also take care of attaching to netgraph now that we detach by default.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/interfaces.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index 083497c..7a9ba5a 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -255,6 +255,7 @@ function interface_qinq_configure(&$vlan, $fd = NULL) {
/* make sure the parent is converted to ng_vlan(4) and is up */
interfaces_bring_up($qinqif);
+ pfSense_ngctl_attach(".", $qinqif);
if (!empty($vlanif) && does_interface_exist($vlanif)) {
fwrite($fd, "shutdown {$qinqif}qinq:\n");
exec("/usr/sbin/ngctl msg {$qinqif}qinq: gettable", $result);
OpenPOWER on IntegriCloud