diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2019-12-13 09:01:08 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2019-12-13 09:01:08 +0000 |
commit | 4e3ecf4051f18ee396ee3ef3528cb55b7f5ed74f (patch) | |
tree | 03d17127479397ba25c7846ef2e883751b3fab95 /usr.sbin/bgpctl | |
parent | 42a6b4fdb38e9896af472830cbde2298dd00f9e1 (diff) |
Remove show_rib_summary_head() it is no longer used.
Reminded by denis@
Diffstat (limited to 'usr.sbin/bgpctl')
-rw-r--r-- | usr.sbin/bgpctl/bgpctl.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/usr.sbin/bgpctl/bgpctl.c b/usr.sbin/bgpctl/bgpctl.c index 84ea123e14c..6e050bb9dc1 100644 --- a/usr.sbin/bgpctl/bgpctl.c +++ b/usr.sbin/bgpctl/bgpctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bgpctl.c,v 1.248 2019/12/13 08:59:07 claudio Exp $ */ +/* $OpenBSD: bgpctl.c,v 1.249 2019/12/13 09:01:07 claudio Exp $ */ /* * Copyright (c) 2003 Henning Brauer <henning@openbsd.org> @@ -71,7 +71,6 @@ void show_nexthop_head(void); int show_nexthop_msg(struct imsg *); void show_interface_head(void); int show_interface_msg(struct imsg *); -void show_rib_summary_head(void); void print_prefix(struct bgpd_addr *, u_int8_t, u_int8_t, u_int8_t); const char * print_origin(u_int8_t, int); const char * print_ovs(u_int8_t, int); @@ -1152,17 +1151,6 @@ show_interface_msg(struct imsg *imsg) } void -show_rib_summary_head(void) -{ - printf("flags: * = Valid, > = Selected, I = via IBGP, A = Announced,\n" - " S = Stale, E = Error\n"); - printf("origin validation state: N = not-found, V = valid, ! = invalid\n"); - printf("origin: i = IGP, e = EGP, ? = Incomplete\n\n"); - printf("%-5s %3s %-20s %-15s %5s %5s %s\n", "flags", "ovs", "destination", - "gateway", "lpref", "med", "aspath origin"); -} - -void print_prefix(struct bgpd_addr *prefix, u_int8_t prefixlen, u_int8_t flags, u_int8_t ovs) { |