Author: bms
Date: Sun Feb 22 13:34:01 2009
New Revision: 188915
URL: http://svn.freebsd.org/changeset/base/188915

Log:
  MFC:
    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.

Modified:
  stable/7/usr.sbin/ifmcstat/ifmcstat.c

Modified: stable/7/usr.sbin/ifmcstat/ifmcstat.c
==============================================================================
--- stable/7/usr.sbin/ifmcstat/ifmcstat.c       Sun Feb 22 12:40:58 2009        
(r188914)
+++ stable/7/usr.sbin/ifmcstat/ifmcstat.c       Sun Feb 22 13:34:01 2009        
(r188915)
@@ -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(&pllasa->sa, pllasa->sa.sa_len,
                            addrbuf, sizeof(addrbuf), NULL, 0, NI_NUMERICHOST);
                        fprintf(stdout, "\t\t\tmcast-macaddr %s\n", addrbuf);
                }
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to