(ipsec) show authentication_method as-is when not in list

This commit is contained in:
Ad Schellevis 2016-07-13 20:29:05 +02:00
parent dd644482e6
commit 2fa901e898

View File

@ -438,7 +438,9 @@ $( document ).ready(function() {
'rsasig' => array( 'name' => 'Mutual RSA', 'mobile' => false ),
'pre_shared_key' => array( 'name' => 'Mutual PSK', 'mobile' => false ) );
?>
<?=$p1_authentication_methods[$ph1ent['authentication_method']]['name'];?>
<?=!empty($p1_authentication_methods[$ph1ent['authentication_method']]['name']) ?
$p1_authentication_methods[$ph1ent['authentication_method']]['name'] :
strtoupper($ph1ent['authentication_method']);?>
</td>
<td>
<?=$ph1ent['descr'];?>&nbsp;