changing hwaddr to sigar_net_address_t

This commit is contained in:
Doug MacEachern committed 2006-07-05 21:33:59 +00:00
1 parent 287af5e947
commit c2f0528538
5 files changed
+37 -30

No files matched your search

+3 -2
View File
@@ -1987,8 +1987,9 @@ int sigar_get_ifentry_config(sigar_t *sigar,
ifconfig->mtu = ifr->dwMtu;
sigar_hwaddr_format(ifconfig->hwaddr,
ifr->bPhysAddr);
sigar_net_address_mac_set(ifconfig->hwaddr,
ifr->bPhysAddr,
SIGAR_IFHWADDRLEN);
SIGAR_SSTRCPY(ifconfig->description,
ifr->bDescr);