diff options
author | denis <denis@cvs.openbsd.org> | 2020-10-07 11:34:12 +0000 |
---|---|---|
committer | denis <denis@cvs.openbsd.org> | 2020-10-07 11:34:12 +0000 |
commit | 71985bb1a3ecfcb2bfd7f2ad1c5a81da5f726f49 (patch) | |
tree | c908f4c8e3a2dfe4d3d76fd2d9463fb4bbb686b9 /sbin/ifconfig/ifconfig.c | |
parent | 3b7cbf784ea1e0d5e7c21247933d2cf1afbe32e3 (diff) |
Fix display of P2P link to be consistent over all AF.
Diffstat (limited to 'sbin/ifconfig/ifconfig.c')
-rw-r--r-- | sbin/ifconfig/ifconfig.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/ifconfig/ifconfig.c b/sbin/ifconfig/ifconfig.c index cf3b8a0cae3..b2023ad9933 100644 --- a/sbin/ifconfig/ifconfig.c +++ b/sbin/ifconfig/ifconfig.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ifconfig.c,v 1.426 2020/09/15 15:23:11 claudio Exp $ */ +/* $OpenBSD: ifconfig.c,v 1.427 2020/10/07 11:34:11 denis Exp $ */ /* $NetBSD: ifconfig.c,v 1.40 1997/10/01 02:19:43 enami Exp $ */ /* @@ -3552,7 +3552,7 @@ in_status(int force) } (void) strlcpy(ifr.ifr_name, ifname, sizeof(ifr.ifr_name)); sin = (struct sockaddr_in *)&ifr.ifr_dstaddr; - printf(" --> %s", inet_ntoa(sin->sin_addr)); + printf(" -> %s", inet_ntoa(sin->sin_addr)); } printf(" netmask 0x%x", ntohl(netmask.sin_addr.s_addr)); if (flags & IFF_BROADCAST) { |