that for us.
approach seems sound deraadt@
ok claudio@ mpi@ henning@ phessler@
-/* $OpenBSD: show.c,v 1.98 2015/02/06 03:22:00 reyk Exp $ */
+/* $OpenBSD: show.c,v 1.99 2015/04/27 09:51:58 benno Exp $ */
/* $NetBSD: show.c,v 1.1 1996/11/15 18:01:41 gwr Exp $ */
/*
if (rtm->rtm_version != RTM_VERSION)
continue;
sa = (struct sockaddr *)(next + rtm->rtm_hdrlen);
- if (af != AF_UNSPEC && sa->sa_family != af)
- continue;
p_rtentry(rtm);
}
free(buf);