When a local route entry is added for an ifa having a broadcast address,
authormpi <mpi@openbsd.org>
Tue, 19 Aug 2014 12:49:41 +0000 (12:49 +0000)
committermpi <mpi@openbsd.org>
Tue, 19 Aug 2014 12:49:41 +0000 (12:49 +0000)
commitf880c90912c34a9d270a0e51a9ddc66dfddd1c2c
treef3b4829df0d212104ea198e7cd9aaf4aa471bbe2
parent5233a64e0be0465c1a60e1b8a9e3752281e96549
When a local route entry is added for an ifa having a broadcast address,
also adds a broadcast entry flagged with RTF_BROADCAST.

Prior to this change broadcast entries were simple clonned ARP entries,
that would be deleted once their timer expired since they would always
be incomplete.

With this change they are now persistant and identifiable with a new flag.

Committing early to be able to deal with any potential fallout before we
start relying on this.

ok florian@, mikeb@, henning@
sys/net/route.c
sys/netinet/if_ether.c