diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-08-26 15:07:15 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-08-26 15:07:15 -0700 |
commit | eccab282e7e201fdbd0fb62a5b927dfb9f27009a (patch) | |
tree | b967b952d24fbe8678ed3f9490da993eb03f364c | |
parent | 2d6d07a55d9590c13daef11ad27e9f4ba059aeaa (diff) | |
download | vyatta-cfg-qos-eccab282e7e201fdbd0fb62a5b927dfb9f27009a.tar.gz vyatta-cfg-qos-eccab282e7e201fdbd0fb62a5b927dfb9f27009a.zip |
add range check for IP source port
-rw-r--r-- | templates/traffic-policy/shaper/node.tag/class/node.tag/match/node.tag/ip/source/port/node.def | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/traffic-policy/shaper/node.tag/class/node.tag/match/node.tag/ip/source/port/node.def b/templates/traffic-policy/shaper/node.tag/class/node.tag/match/node.tag/ip/source/port/node.def index 130bea6..62d1513 100644 --- a/templates/traffic-policy/shaper/node.tag/class/node.tag/match/node.tag/ip/source/port/node.def +++ b/templates/traffic-policy/shaper/node.tag/class/node.tag/match/node.tag/ip/source/port/node.def @@ -4,3 +4,5 @@ help: IP source port for this match val_help: u32:1-65535; Numeric IP port val_help: txt; Assigned IP port name +syntax:expression: $VAR(@) > 0 && $VAR(@) <= 65535 ; \ + "Port number must be in range 1 to 65535" |