summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorSebastian Benoit <benno@cvs.openbsd.org>2019-05-14 16:47:31 +0000
committerSebastian Benoit <benno@cvs.openbsd.org>2019-05-14 16:47:31 +0000
commit6893edb4debd6bd367af14c1d0a75b7cef654a26 (patch)
tree6ffd30faaac27417c56279d14cd496d1101bfdc4 /usr.sbin
parentb9b5d4bbfc32b00692cfe51c5e3bfbd6aa9da4c1 (diff)
make "bgpctl sh rib detail *out*" look less confusing
ok claudio@
Diffstat (limited to 'usr.sbin')
-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));