summaryrefslogtreecommitdiff
path: root/templates/service/ssh/port/node.def
diff options
context:
space:
mode:
Diffstat (limited to 'templates/service/ssh/port/node.def')
-rw-r--r--templates/service/ssh/port/node.def4
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/service/ssh/port/node.def b/templates/service/ssh/port/node.def
index 1b1248f4..d4f53378 100644
--- a/templates/service/ssh/port/node.def
+++ b/templates/service/ssh/port/node.def
@@ -1,3 +1,7 @@
type: u32
default: 22
help: Port for SSH service
+val_help: u32:1-65535; Numeric IP port
+
+syntax:expression: $VAR(@) > 0 && $VAR(@) <= 65535 ; \
+ "Port number must be in range 1 to 65535"