only show aggressive/main mode for IKEv1

This commit is contained in:
Chris Buechler 2014-11-25 16:16:39 -06:00
parent a46dc3c763
commit 563ea7ea9a

View File

@ -346,7 +346,10 @@ include("head.inc");
</td>
<td class="listr" onclick="fr_toggle(<?=$i;?>)" id="frd<?=$i;?>">
<?=$spans;?>
<?=$ph1ent['mode'];?>
<?php
if (empty($ph1ent['iketype']) || $ph1ent['iketype'] == "ikev1")
echo "{$ph1ent['mode']}";
?>
<?=$spane;?>
</td>
<td class="listr" onclick="fr_toggle(<?=$i;?>)" id="frd<?=$i;?>">