diff options
Diffstat (limited to 'interface-definitions')
-rw-r--r-- | interface-definitions/ssh.xml | 9 | ||||
-rw-r--r-- | interface-definitions/wireguard.xml | 2 |
2 files changed, 10 insertions, 1 deletions
diff --git a/interface-definitions/ssh.xml b/interface-definitions/ssh.xml index 35fe79214..422e6d64d 100644 --- a/interface-definitions/ssh.xml +++ b/interface-definitions/ssh.xml @@ -167,11 +167,20 @@ <format>1-65535</format> <description>Numeric IP port</description> </valueHelp> + <multi/> <constraint> <validator name="numeric" argument="--range 1-65535"/> </constraint> </properties> </leafNode> + <leafNode name="client-keepalive-interval"> + <properties> + <help>how often send keep alives in seconds</help> + <constraint> + <validator name="numeric" argument="--range 1-65535"/> + </constraint> + </properties> + </leafNode> </children> </node> </children> diff --git a/interface-definitions/wireguard.xml b/interface-definitions/wireguard.xml index 51876d6d6..e6bf557cd 100644 --- a/interface-definitions/wireguard.xml +++ b/interface-definitions/wireguard.xml @@ -29,7 +29,7 @@ </valueHelp> <multi/> <constraint> - <validator name="ip-prefix"/> + <validator name="ip-host"/> </constraint> </properties> </leafNode> |