summaryrefslogtreecommitdiffstats
path: root/etc/inc/vpn.inc
diff options
context:
space:
mode:
Diffstat (limited to 'etc/inc/vpn.inc')
-rw-r--r--etc/inc/vpn.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/vpn.inc b/etc/inc/vpn.inc
index 67de51e..50e935a 100644
--- a/etc/inc/vpn.inc
+++ b/etc/inc/vpn.inc
@@ -134,7 +134,6 @@ function vpn_ipsec_configure($ipchg = false)
if (!isset($ipseccfg['enable'])) {
mwexec("/sbin/ifconfig enc0 down");
- mwexec("/sbin/ifconfig enc0 destroy");
/* kill racoon */
mwexec("/usr/bin/killall racoon", true);
@@ -1478,4 +1477,5 @@ EOD;
return 0;
}
-?>
+
+?> \ No newline at end of file
OpenPOWER on IntegriCloud