1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-17 10:26:15 +00:00

stub call to addr2ascii().

Noticed by:	brooks
This commit is contained in:
Bruce M Simpson 2007-03-01 02:11:57 +00:00
parent 4c38f2f8bc
commit b32fedf48f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=167131

View File

@ -132,7 +132,7 @@ ifmalist_dump_af(const struct ifmaddrs * const ifmap, int const af)
(psa->sdl.sdl_type == IFT_ETHER)) {
pgroup =
ether_ntoa((struct ether_addr *)&psa->sdl.sdl_data);
#if 0 /* XXX */
#ifdef notyet
} else {
pgroup = addr2ascii(AF_LINK,
&psa->sdl,
@ -154,12 +154,14 @@ ether_ntoa((struct ether_addr *)&psa->sdl.sdl_data);
/* IEEE 802 */
plladdr =
ether_ntoa((struct ether_addr *)&psa->sdl.sdl_data);
#ifdef notyet
} else {
/* something more exotic */
plladdr = addr2ascii(AF_LINK,
&psa->sdl,
sizeof(struct sockaddr_dl),
addrbuf);
#endif
}
} else {
/* not a link-layer address */