summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2007-03-09 23:28:40 +0000
committersam <sam@FreeBSD.org>2007-03-09 23:28:40 +0000
commit877325c8fac8d2743b8b6310a889258a39fdd7ab (patch)
tree5e2c2cfe9bb3ed055b32671136e9480ac0cf506f /sbin
parentf5e396934025920e30b32a3eef21d05548f16898 (diff)
downloadFreeBSD-src-877325c8fac8d2743b8b6310a889258a39fdd7ab.zip
FreeBSD-src-877325c8fac8d2743b8b6310a889258a39fdd7ab.tar.gz
point-to-point address should come from ifa_dstaddr
Diffstat (limited to 'sbin')
-rw-r--r--sbin/ifconfig/af_ipx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/ifconfig/af_ipx.c b/sbin/ifconfig/af_ipx.c
index 3ed0a9b..dd98d7e 100644
--- a/sbin/ifconfig/af_ipx.c
+++ b/sbin/ifconfig/af_ipx.c
@@ -66,7 +66,7 @@ ipx_status(int s __unused, const struct ifaddrs *ifa)
printf("\tipx %s ", ipx_ntoa(sipx->sipx_addr));
if (ifa->ifa_flags & IFF_POINTOPOINT) {
- sipx = (struct sockaddr_ipx *)ifa->ifa_broadaddr;
+ sipx = (struct sockaddr_ipx *)ifa->ifa_dstaddr;
if (sipx == NULL) {
memset(&null_sipx, 0, sizeof(null_sipx));
sipx = &null_sipx;
OpenPOWER on IntegriCloud