diff options
Diffstat (limited to 'templates/protocols/static/route')
-rw-r--r-- | templates/protocols/static/route/node.def | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/protocols/static/route/node.def b/templates/protocols/static/route/node.def index e46227e5..0d17bb4b 100644 --- a/templates/protocols/static/route/node.def +++ b/templates/protocols/static/route/node.def @@ -2,7 +2,7 @@ tag: priority: 482 type: ipv4net help: Static route -syntax:expression: exec "${vyatta_sbindir}/check_prefix_boundary $VAR(@)" +syntax:expression: exec "ipaddrcheck --verbose --is-ipv4-net $VAR(@)" commit:expression: $VAR(./next-hop/) != "" || $VAR(./blackhole/) != "" || $VAR(./dhcp-interface/) != ""; \ "Must add either a next-hop or blackhole or dhcp-interface for route $VAR(@)" |