summaryrefslogtreecommitdiffstats
path: root/src/usr/local
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/local')
-rw-r--r--src/usr/local/www/vpn_ipsec_phase1.php10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/usr/local/www/vpn_ipsec_phase1.php b/src/usr/local/www/vpn_ipsec_phase1.php
index 5a47a64..3769731 100644
--- a/src/usr/local/www/vpn_ipsec_phase1.php
+++ b/src/usr/local/www/vpn_ipsec_phase1.php
@@ -620,6 +620,9 @@ $shortcut_section = "ipsec";
include("head.inc");
+ if ($input_errors)
+ print_input_errors($input_errors);
+
$tab_array = array();
$tab_array[] = array(gettext("Tunnels"), true, "vpn_ipsec.php");
$tab_array[] = array(gettext("Mobile clients"), false, "vpn_ipsec_mobile.php");
@@ -899,11 +902,6 @@ if (isset($pconfig['ealgo']['keylen']))
<form action="vpn_ipsec_phase1.php" method="post" name="iform" id="iform">
-<?php
- if ($input_errors)
- print_input_errors($input_errors);
-?>
-
<script type="text/javascript">
//<![CDATA[
events.push(function(){
@@ -1109,4 +1107,4 @@ events.push(function(){
</script>
<?php
-include("foot.inc"); \ No newline at end of file
+include("foot.inc");
OpenPOWER on IntegriCloud