summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bgpctl
diff options
context:
space:
mode:
authorbenno <benno@openbsd.org>2019-05-14 16:47:30 +0000
committerbenno <benno@openbsd.org>2019-05-14 16:47:30 +0000
commit8b1c04c9d250555738ffdcf77c4c197837f15e99 (patch)
treedaf2afc9145c387ba6c88ed5f9e275c4b5f9d23d /usr.sbin/bgpctl
parentRemove the REGRESS_MAXTIME feature from regress framework. The (diff)
downloadwireguard-openbsd-8b1c04c9d250555738ffdcf77c4c197837f15e99.tar.xz
wireguard-openbsd-8b1c04c9d250555738ffdcf77c4c197837f15e99.zip
make "bgpctl sh rib detail *out*" look less confusing
ok claudio@
Diffstat (limited to 'usr.sbin/bgpctl')
-rw-r--r--usr.sbin/bgpctl/bgpctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bgpctl/bgpctl.c b/usr.sbin/bgpctl/bgpctl.c
index f8e3b722161..0f65fcf2445 100644
--- a/usr.sbin/bgpctl/bgpctl.c
+++ b/usr.sbin/bgpctl/bgpctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bgpctl.c,v 1.236 2019/05/03 01:48:42 jsg Exp $ */
+/* $OpenBSD: bgpctl.c,v 1.237 2019/05/14 16:47:30 benno Exp $ */
/*
* Copyright (c) 2003 Henning Brauer <henning@openbsd.org>
@@ -1301,7 +1301,7 @@ show_rib_detail(struct ctl_show_rib *r, u_char *asdata, int nodescr, int flag0)
s = fmt_peer(r->descr, &r->remote_addr, -1, nodescr);
printf(" Nexthop %s ", log_addr(&r->exit_nexthop));
- printf("(via %s) from %s (", log_addr(&r->true_nexthop), s);
+ printf("(via %s) Neighbor %s (", log_addr(&r->true_nexthop), s);
free(s);
id.s_addr = htonl(r->remote_id);
printf("%s)%c", inet_ntoa(id), EOL0(flag0));