On Thu, Feb 08, 2018 at 11:52:01AM +0100, Sebastian Benoit wrote: > can someone confirm that ospf6d still works with this change? > > oks?
ospf6d works as before with this change. It also matches what ospfd does. OK remi@ > > (benno_ospf6d_kroute.diff) > > diff --git usr.sbin/ospf6d/kroute.c usr.sbin/ospf6d/kroute.c > index 58e4f72f287..df7d56f09dd 100644 > --- usr.sbin/ospf6d/kroute.c > +++ usr.sbin/ospf6d/kroute.c > @@ -102,7 +102,7 @@ kr_init(int fs) > kr_state.fib_sync = fs; > > if ((kr_state.fd = socket(AF_ROUTE, > - SOCK_RAW | SOCK_CLOEXEC | SOCK_NONBLOCK, 0)) == -1) { > + SOCK_RAW | SOCK_CLOEXEC | SOCK_NONBLOCK, AF_INET6)) == -1) { > log_warn("kr_init: socket"); > return (-1); > }