From d0940e865c3a59e858a59f7e1dd0316bdc340f2a Mon Sep 17 00:00:00 2001 From: Ad Schellevis Date: Thu, 29 Oct 2015 09:28:11 +0000 Subject: [PATCH] (legacy, ipsec) flip ipv4/ipv6 subnet in ipsec phase2, closes https://github.com/opnsense/core/issues/446 --- src/www/vpn_ipsec_phase2.php | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/src/www/vpn_ipsec_phase2.php b/src/www/vpn_ipsec_phase2.php index 04ce1bf7d..28a8999c6 100644 --- a/src/www/vpn_ipsec_phase2.php +++ b/src/www/vpn_ipsec_phase2.php @@ -458,6 +458,11 @@ $( document ).ready(function() { typesel_change_remote(); + + $( document ).ready(function() { + // hook in, ipv4/ipv6 selector events + hook_ipv4v6('ipv4v6net', 'network-id'); + }); }); function change_mode() { @@ -617,8 +622,6 @@ function change_protocol() { //]]> - - 0) { print_input_errors($input_errors); @@ -707,7 +710,7 @@ endforeach; / - = 0; $i--) : ?>