summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Grooms <mgrooms@pfsense.org>2008-08-23 19:32:50 +0000
committerMatthew Grooms <mgrooms@pfsense.org>2008-08-23 19:32:50 +0000
commitfce61edae2213469b3ed613e3b3b0b178b1003ca (patch)
tree23aa548f7fb9d193518afc621f329b16e4d07fe4
parent44bfd1fabdf1c08993ed154a756d114399f54e0a (diff)
downloadpfsense-fce61edae2213469b3ed613e3b3b0b178b1003ca.zip
pfsense-fce61edae2213469b3ed613e3b3b0b178b1003ca.tar.gz
Disallow the copy option for mobile phase1 entries. There can be only one.
-rwxr-xr-xusr/local/www/vpn_ipsec.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/local/www/vpn_ipsec.php b/usr/local/www/vpn_ipsec.php
index 049415f..906f791 100755
--- a/usr/local/www/vpn_ipsec.php
+++ b/usr/local/www/vpn_ipsec.php
@@ -265,6 +265,7 @@ include("head.inc");
</a>
</td>
</tr>
+ <?php if (!isset($ph1ent['mobile'])): ?>
<tr>
<td>
</td>
@@ -274,6 +275,7 @@ include("head.inc");
</a>
</td>
</tr>
+ <?php endif; ?>
</table>
</td>
</tr>
OpenPOWER on IntegriCloud