From 0b5fc1d1a6c515d91df5ec1d848b6bbc1a05186b Mon Sep 17 00:00:00 2001 From: Ermal Date: Thu, 7 Aug 2014 18:51:39 +0000 Subject: Change the logic of the vpn config generation to make connectivity more stable especially ipsec. Also for IKEv1 just generate the policies and only on traffic start them. --- usr/local/www/interfaces_assign.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr/local/www/interfaces_assign.php') diff --git a/usr/local/www/interfaces_assign.php b/usr/local/www/interfaces_assign.php index 5dedb5c..42ba60e 100644 --- a/usr/local/www/interfaces_assign.php +++ b/usr/local/www/interfaces_assign.php @@ -239,7 +239,7 @@ if ($_POST['apply']) { if (isset($portlist[$ifport]['isppp'])) $config['interfaces'][$ifname]['ipaddr'] = $portlist[$ifport]['type']; - if (substr($ifport, 0, 3) == 'gre') { + if (substr($ifport, 0, 3) == 'gre' || substr($ifport, 0, 3) == 'gif') { unset($config['interfaces'][$ifname]['ipaddr']); unset($config['interfaces'][$ifname]['subnet']); unset($config['interfaces'][$ifname]['ipaddrv6']); -- cgit v1.1