The IPv6 gateway address passed to rt6_flush() comes either from a
authorbluhm <bluhm@openbsd.org>
Tue, 23 Jan 2018 22:06:42 +0000 (22:06 +0000)
committerbluhm <bluhm@openbsd.org>
Tue, 23 Jan 2018 22:06:42 +0000 (22:06 +0000)
commitc69ca9a47853912ed755cee1931c411100827f52
treec31bb78b54d1dda68e6c5797eb74141ad1d0e363
parentb2ca6e96929bd89f25115a0a3d193debb359a76a
The IPv6 gateway address passed to rt6_flush() comes either from a
packet through ip6_input() or from the routing table.  In both cases
the KAME hack has added the embeded scope to the address, so it is
not necessary to fill the scope id again in rt6_flush().  Assert
that it is already there.
OK mpi@
sys/netinet6/nd6_rtr.c