usr.bin/netstat/route.c
/*
 * Print header for routing table columns.
 */
Print header for routing table columns.
Print header for routing table columns .
void
pr_rthdr()
{
	if (Aflag)
		printf("%-8.8s ","Address");
	printf("%-*.*s %-*.*s %-6.6s  %6.6s%8.8s  %s\n",
		WID_DST, WID_DST, "Destination",
		WID_GW, WID_GW, "Gateway",
		"Flags", "Refs", "Use", "Interface");
}
void pr_rthdr ( ) { if ( Aflag ) printf ( " " , " " ) ; printf ( " \n " , WID_DST , WID_DST , " " , WID_GW , WID_GW , " " , " " , " " , " " , " " ) ; }
Print header for routing table columns.
Print header for routing table columns .