On Tue, 07 Jul 2015 15:56:35 +0200, Martin Pieuchot wrote: > Now that packet headers include the interface index of their receiving > interface, pass it directly to in6_addr2scopeid(). > > This does not change anything with regards to the scopeid hack but it > reduces the number of if_get().
OK, but you should update the comment preceding the in6_addr2scopeid() function. It's probably best to just remove the: * ifp - must not be NULL - todd