summaryrefslogtreecommitdiff
path: root/usr.bin/bgplg/bgplgsh.c
diff options
context:
space:
mode:
authorStuart Henderson <sthen@cvs.openbsd.org>2010-04-02 21:20:50 +0000
committerStuart Henderson <sthen@cvs.openbsd.org>2010-04-02 21:20:50 +0000
commitc6bf16397c6ec3cee1af953c0d6cd6255f3c9118 (patch)
tree6bf53f5661d839efc4b2e69028710bbcfadc9e3f /usr.bin/bgplg/bgplgsh.c
parent40d137d475c45d4ee163af9ba08de492a1c3522d (diff)
Support ping6 and traceroute6 in bgplg and bgplgsh.
From Rod Whitworth, ok deraadt@
Diffstat (limited to 'usr.bin/bgplg/bgplgsh.c')
-rw-r--r--usr.bin/bgplg/bgplgsh.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/bgplg/bgplgsh.c b/usr.bin/bgplg/bgplgsh.c
index 853a4441688..689fe632179 100644
--- a/usr.bin/bgplg/bgplgsh.c
+++ b/usr.bin/bgplg/bgplgsh.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bgplgsh.c,v 1.2 2006/12/12 11:43:50 reyk Exp $ */
+/* $OpenBSD: bgplgsh.c,v 1.3 2010/04/02 21:20:49 sthen Exp $ */
/*
* Copyright (c) 2005, 2006 Reyk Floeter <reyk@vantronix.net>
@@ -38,6 +38,8 @@
#define BGPCTL "/usr/sbin/bgpctl", "-s", BGPDSOCK
#define PING "/sbin/ping"
#define TRACEROUTE "/usr/sbin/traceroute"
+#define PING6 "/sbin/ping6"
+#define TRACEROUTE6 "/usr/sbin/traceroute6"
static volatile int quit;