diff options
Diffstat (limited to 'templates/protocols/static/route6')
-rw-r--r-- | templates/protocols/static/route6/node.def | 2 | ||||
-rw-r--r-- | templates/protocols/static/route6/node.tag/next-hop/node.def | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/templates/protocols/static/route6/node.def b/templates/protocols/static/route6/node.def index de3f1cd8..bba42943 100644 --- a/templates/protocols/static/route6/node.def +++ b/templates/protocols/static/route6/node.def @@ -1,7 +1,7 @@ tag: type: ipv6net help: Static IPv6 route -syntax:expression: exec "${vyatta_sbindir}/check_prefix_boundary $VAR(@)" +syntax:expression: exec "${vyatta_sbindir}/check_prefix_boundary -6 $VAR(@)" commit:expression: $VAR(./next-hop/) != "" || $VAR(./blackhole/) != ""; \ "Must add either a next-hop or blackhole for route $VAR(@)" diff --git a/templates/protocols/static/route6/node.tag/next-hop/node.def b/templates/protocols/static/route6/node.tag/next-hop/node.def index e3a668b7..82bc78a8 100644 --- a/templates/protocols/static/route6/node.tag/next-hop/node.def +++ b/templates/protocols/static/route6/node.tag/next-hop/node.def @@ -4,6 +4,8 @@ type: ipv6 help: Next-hop IPv6 router [REQUIRED] +syntax:expression: exec "${vyatta_sbindir}/check_next_hop -6 $VAR(@)" + end: if [[ -z "$VAR(./disable)" ]] then |