On Thu, Feb 08 2018, Sebastian Benoit <be...@openbsd.org> wrote:
> can someone confirm that ospf6d still works with this change?
>
> oks?

ok

> (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);
>       }
>

-- 
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE

Reply via email to