diff options
-rw-r--r-- | debian/control | 1 | ||||
-rw-r--r-- | templates/traceroute/node.tag/node.def | 7 |
2 files changed, 7 insertions, 1 deletions
diff --git a/debian/control b/debian/control index 1d00eea..8912e58 100644 --- a/debian/control +++ b/debian/control @@ -9,6 +9,7 @@ Package: vyatta-op Architecture: all Depends: sed (>= 4.1.5), ethtool, + traceroute, ntpdate, procps (>= 1:3.2.7-3), pciutils, diff --git a/templates/traceroute/node.tag/node.def b/templates/traceroute/node.tag/node.def index 87d9c32..f183741 100644 --- a/templates/traceroute/node.tag/node.def +++ b/templates/traceroute/node.tag/node.def @@ -5,4 +5,9 @@ allowed: vyatta-allowed-hosts -run: /usr/sbin/traceroute $2 +run: if /usr/bin/host $2 &>/dev/null + then + /usr/bin/traceroute $2 + else + echo Cannot identify $2 + fi |