diff options
author | Ermal <eri@pfsense.org> | 2011-04-28 21:21:11 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2011-04-28 21:21:11 +0000 |
commit | 9cf46050fc708f3a3395c7800acf5d81a69b1013 (patch) | |
tree | 1b467bbca34ea337c597b350474b1f90730e1fb8 /usr/local/www/interfaces_qinq.php | |
parent | a7ee57772048f9ef12a684cc02c36b04de412d74 (diff) | |
download | pfsense-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 'usr/local/www/interfaces_qinq.php')
-rwxr-xr-x | usr/local/www/interfaces_qinq.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr/local/www/interfaces_qinq.php b/usr/local/www/interfaces_qinq.php index 04ac908..5a234a5 100755 --- a/usr/local/www/interfaces_qinq.php +++ b/usr/local/www/interfaces_qinq.php @@ -73,6 +73,7 @@ if ($_GET['act'] == "del") { } mwexec("/usr/sbin/ngctl shutdown {$qinq['vlanif']}qinq:"); mwexec("/usr/sbin/ngctl shutdown {$qinq['vlanif']}:"); + mwexec("/sbin/ifconfig {$qinq['vlanif']} destroy"); unset($a_qinqs[$id]); write_config(); |