![]() ![]() | ![]() |
version 1.22, 2000/12/13 15:52:58 | version 1.23, 2001/02/06 05:24:10 | ||
---|---|---|---|
|
|
||
(struct sockaddr_dl *)sa; | (struct sockaddr_dl *)sa; | ||
m = printf("%-11.11s ", "<Link>"); | m = printf("%-11.11s ", "<Link>"); | ||
if (sdl->sdl_type == IFT_ETHER || | if (sdl->sdl_type == IFT_ETHER || | ||
sdl->sdl_type == IFT_FDDI) | sdl->sdl_type == IFT_FDDI || | ||
sdl->sdl_type == IFT_ISO88025) | |||
printf("%-17.17s ", | printf("%-17.17s ", | ||
ether_ntoa((struct ether_addr *)LLADDR(sdl))); | ether_ntoa((struct ether_addr *)LLADDR(sdl))); | ||
else { | else { |