From 6893edb4debd6bd367af14c1d0a75b7cef654a26 Mon Sep 17 00:00:00 2001 From: Sebastian Benoit Date: Tue, 14 May 2019 16:47:31 +0000 Subject: make "bgpctl sh rib detail *out*" look less confusing ok claudio@ --- usr.sbin/bgpctl/bgpctl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.sbin') 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 @@ -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)); -- cgit v1.2.3