Fix a typo which caused ifmcstat's sysctl path

to print the network-layer endpoint address of the
group membership, rather than its link-layer mapping
as intended.
The KVM path is not affected.

MFC after:	1 week
This commit is contained in:
Bruce M Simpson 2009-02-15 12:10:05 +00:00
parent 5a25eda53a
commit 15c834931c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=188643

View File

@ -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);
}