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