summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authordenis <denis@cvs.openbsd.org>2020-10-07 14:38:55 +0000
committerdenis <denis@cvs.openbsd.org>2020-10-07 14:38:55 +0000
commit058cf627e1faf59592c5b5c6f91528676d535f23 (patch)
treef14cb24df00b6b924b6d8dc05f0b54c284dd146a /sbin
parent0678451e03f5178ccf94344e0e94cbd2e40efec4 (diff)
Fix display of P2P link to be consistent over all AF.
OK kn@, input from claudio@
Diffstat (limited to 'sbin')
-rw-r--r--sbin/ifconfig/ifconfig.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/ifconfig/ifconfig.c b/sbin/ifconfig/ifconfig.c
index cfa7a4f396b..2ccbac6f4ce 100644
--- a/sbin/ifconfig/ifconfig.c
+++ b/sbin/ifconfig/ifconfig.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ifconfig.c,v 1.428 2020/10/07 11:36:05 denis Exp $ */
+/* $OpenBSD: ifconfig.c,v 1.429 2020/10/07 14:38:54 denis Exp $ */
/* $NetBSD: ifconfig.c,v 1.40 1997/10/01 02:19:43 enami Exp $ */
/*
@@ -3219,7 +3219,7 @@ print_tunnel(const struct if_laddrreq *req)
0, 0, niflag) != 0)
strlcpy(pdstaddr, "<error>", sizeof(pdstaddr));
- printf(" -> %s", pdstaddr);
+ printf(" --> %s", pdstaddr);
switch (req->dstaddr.ss_family) {
case AF_INET:
@@ -3635,7 +3635,7 @@ in6_alias(struct in6_ifreq *creq)
if (getnameinfo((struct sockaddr *)sin6, sin6->sin6_len,
hbuf, sizeof(hbuf), NULL, 0, niflag) != 0)
strlcpy(hbuf, "", sizeof hbuf);
- printf(" -> %s", hbuf);
+ printf(" --> %s", hbuf);
}
(void) memset(&ifr6, 0, sizeof(ifr6));