mirror of
https://github.com/opnsense/plugins.git
synced 2026-06-09 08:56:23 -04:00
net/frr: Add plain password authentication to OSPF (#3770)
This commit is contained in:
parent
0919e8e06c
commit
25dd47d776
2 changed files with 7 additions and 3 deletions
|
|
@ -149,6 +149,7 @@
|
|||
<default></default>
|
||||
<OptionValues>
|
||||
<message-digest>MD5</message-digest>
|
||||
<plain>plain</plain>
|
||||
</OptionValues>
|
||||
</authtype>
|
||||
<authkey type="TextField">
|
||||
|
|
|
|||
|
|
@ -31,9 +31,12 @@ interface {{ physical_interface(interface.interfacename) }}
|
|||
{% if interface.networktype %}
|
||||
{{ cline("network",interface.networktype)
|
||||
}}{% endif %}
|
||||
{{ cline("authentication",interface.authtype)
|
||||
}}{% if interface.authtype and interface.authtype == 'message-digest'
|
||||
%}{{ cline("message-digest-key " + interface.authkey_id + " md5",interface.authkey)
|
||||
{% if interface.authtype and interface.authtype == 'message-digest'
|
||||
%}{{ cline("authentication",interface.authtype)
|
||||
}}{{ cline("message-digest-key " + interface.authkey_id + " md5",interface.authkey)
|
||||
}}{% elif interface.authtype and interface.authtype == 'plain'
|
||||
%}{{ cline("authentication",' ')
|
||||
}}{{ cline("authentication-key",interface.authkey)
|
||||
}}{% endif
|
||||
%}{{ cline("area",interface.area)
|
||||
}}{{ cline("cost",interface.cost)
|
||||
|
|
|
|||
Loading…
Reference in a new issue