Explicitly request the sockaddr_dl when doing a RTM_GET rather than
authormpi <mpi@openbsd.org>
Wed, 3 Jun 2015 08:10:53 +0000 (08:10 +0000)
committermpi <mpi@openbsd.org>
Wed, 3 Jun 2015 08:10:53 +0000 (08:10 +0000)
commitf3b11628a009ccfbc47a504210e1737cf43509bc
tree4b9b5a717186fa98b096e7d0e2a2b4b032d529ec
parent02b387923977e85ef602de1e3847ac87c4dc543b
Explicitly request the sockaddr_dl when doing a RTM_GET rather than
assuming that it will be in the gateway sa.

Fixes a regression introduced with the support of multiple connected
routes, found the hardway by deraadt@.

ok claudio@
usr.sbin/arp/arp.c
usr.sbin/ndp/ndp.c