}
sodump(sup su, char *which){#ifdef INET6	char ntop_buf[NI_MAXHOST];	/*for inet_ntop()*/#endif	switch (su->sa.sa_family) {	case AF_LINK:		(void) printf("%s: link %s; ",		    which, link_ntoa(&su->sdl));		break;	case AF_INET:		(void) printf("%s: inet %s; ",		    which, inet_ntoa(su->sin.sin_addr));		break;#ifdef INET6	case AF_INET6:		(void) printf("%s: inet6 %s; ",		    which, inet_ntop(AF_INET6, &su->sin6.sin6_addr,				     ntop_buf, sizeof(ntop_buf)));		break;#endif	case AF_IPX:		(void) printf("%s: ipx %s; ",		    which, ipx_ntoa(su->sipx.sipx_addr));		break;	}	(void) fflush(stdout);}