summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpctl/bgpctl.c
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2004-01-04 02:13:53 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2004-01-04 02:13:53 +0000
commitd26484887633d6a8790c22deaa4e8b52eecdd357 (patch)
tree73db1f9c1f697e47d98bd4b3a243d666aa0a19f2 /usr.sbin/bgpctl/bgpctl.c
parent4b05413dc13e6e222f72f74e2788badd3d9f2947 (diff)
share statenames
Diffstat (limited to 'usr.sbin/bgpctl/bgpctl.c')
-rw-r--r--usr.sbin/bgpctl/bgpctl.c13
1 files changed, 2 insertions, 11 deletions
diff --git a/usr.sbin/bgpctl/bgpctl.c b/usr.sbin/bgpctl/bgpctl.c
index 4a2b083f0d4..9815a8202ed 100644
--- a/usr.sbin/bgpctl/bgpctl.c
+++ b/usr.sbin/bgpctl/bgpctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bgpctl.c,v 1.7 2004/01/03 22:27:06 henning Exp $ */
+/* $OpenBSD: bgpctl.c,v 1.8 2004/01/04 02:13:52 henning Exp $ */
/*
* Copyright (c) 2003 Henning Brauer <henning@openbsd.org>
@@ -26,6 +26,7 @@
#include "bgpd.h"
#include "session.h"
+#include "log.h"
int main(int, char *[]);
void summary_head(void);
@@ -33,16 +34,6 @@ int summary_msg(struct imsg *);
struct imsgbuf ibuf;
-static const char *statenames[] = {
- "None",
- "Idle",
- "Connect",
- "Active",
- "OpenSent",
- "OpenConfirm",
- "Established"
-};
-
enum views {
VIEW_SUMMARY
};