Commit 2fa901e8 authored by Ad Schellevis's avatar Ad Schellevis

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

parent dd644482
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment