diff options
author | Renato Botelho <renato@netgate.com> | 2017-01-04 18:53:20 -0200 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2017-01-04 18:53:35 -0200 |
commit | 636a410c0f10b517017420685948e35841860cc1 (patch) | |
tree | 69ff67e604b972b5984ca1353652b4477f6b3ef7 /src/usr/local/www/interfaces_lagg.php | |
parent | d6c4d9a01e768a25850395b0482e48f97f22eb73 (diff) | |
download | pfsense-636a410c0f10b517017420685948e35841860cc1.zip pfsense-636a410c0f10b517017420685948e35841860cc1.tar.gz |
Remove direct calls to /sbin/ifconfig destroy by pfSense_interface_destroy()
Diffstat (limited to 'src/usr/local/www/interfaces_lagg.php')
-rw-r--r-- | src/usr/local/www/interfaces_lagg.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/local/www/interfaces_lagg.php b/src/usr/local/www/interfaces_lagg.php index f5864b9..ef3de5d 100644 --- a/src/usr/local/www/interfaces_lagg.php +++ b/src/usr/local/www/interfaces_lagg.php @@ -95,7 +95,7 @@ if ($_GET['act'] == "del") { } else if (lagg_inuse($_GET['id'])) { $input_errors[] = gettext("This LAGG interface cannot be deleted because it is still being used."); } else { - mwexec_bg("/sbin/ifconfig " . $a_laggs[$_GET['id']]['laggif'] . " destroy"); + pfSense_interface_destroy($a_laggs[$_GET['id']]['laggif']); unset($a_laggs[$_GET['id']]); write_config(); |