summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/ifmcstat/ifmcstat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/ifmcstat/ifmcstat.c b/usr.sbin/ifmcstat/ifmcstat.c
index 9fe8b15..0a2eb7e 100644
--- a/usr.sbin/ifmcstat/ifmcstat.c
+++ b/usr.sbin/ifmcstat/ifmcstat.c
@@ -768,7 +768,7 @@ ifmcstat_getifmaddrs(void)
/* Link-layer mapping, if present. */
pllsa = (sockunion_t *)ifma->ifma_lladdr;
if (pllsa != NULL) {
- error = getnameinfo(&pifasa->sa, pifasa->sa.sa_len,
+ error = getnameinfo(&pllsa->sa, pllsa->sa.sa_len,
addrbuf, sizeof(addrbuf), NULL, 0, NI_NUMERICHOST);
fprintf(stdout, "\t\t\tmcast-macaddr %s\n", addrbuf);
}
OpenPOWER on IntegriCloud