diff options
author | Mohit Mehta <mohit@vyatta.com> | 2008-03-06 11:47:35 -0800 |
---|---|---|
committer | Mohit Mehta <mohit@vyatta.com> | 2008-03-06 11:47:35 -0800 |
commit | ae70ac4ecc2910e8a3d5bd70d6e3a1cb47f51ccb (patch) | |
tree | 0e25e14acb9ca46d2b34acca960f798cebfaa92d /templates/system/gateway-address/node.def | |
parent | 6baa45770b6c282df9e8268e1bc2cabaf816061b (diff) | |
download | vyatta-cfg-quagga-ae70ac4ecc2910e8a3d5bd70d6e3a1cb47f51ccb.tar.gz vyatta-cfg-quagga-ae70ac4ecc2910e8a3d5bd70d6e3a1cb47f51ccb.zip |
Fix Bug 2886 Invalid gateway address is accepted
- Change type from text to ipv4
Diffstat (limited to 'templates/system/gateway-address/node.def')
-rw-r--r-- | templates/system/gateway-address/node.def | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/system/gateway-address/node.def b/templates/system/gateway-address/node.def index 27f7cf9e..7649b81a 100644 --- a/templates/system/gateway-address/node.def +++ b/templates/system/gateway-address/node.def @@ -1,4 +1,4 @@ -type: txt +type: ipv4 help: Configure default gateway create:expression: "${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" -c \"ip route 0.0.0.0/0 $VAR(@)\" " update:expression: "oldgw=`/opt/vyatta/sbin/vyatta-cli-expand-var.pl '$(/system/gateway-address/@)' ` && \ |