found while investigating routing socket desync with claudio.
ok remi jca claudio
-/* $OpenBSD: kroute.c,v 1.53 2017/11/05 14:33:27 jca Exp $ */
+/* $OpenBSD: kroute.c,v 1.54 2018/02/08 21:37:36 benno Exp $ */
/*
* Copyright (c) 2004 Esben Norby <norby@openbsd.org>
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);
}