diff options
-rw-r--r-- | interface-definitions/wireguard.xml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/interface-definitions/wireguard.xml b/interface-definitions/wireguard.xml index 21656e3d8..cd92aefe0 100644 --- a/interface-definitions/wireguard.xml +++ b/interface-definitions/wireguard.xml @@ -51,6 +51,9 @@ <leafNode name="listen-port"> <properties> <help>Local port number to accept connections</help> + <constraint> + <validator name="numeric" argument="--range 1024-65535"/> + </constraint> </properties> </leafNode> <tagNode name="peer"> |