Keep adding IPv6 routes after lo0 got an addres like before, meant to be
committed together with r1.223.
#!/bin/sh -
#
-# $OpenBSD: netstart,v 1.224 2022/10/31 19:48:50 kn Exp $
+# $OpenBSD: netstart,v 1.225 2022/10/31 20:14:45 kn Exp $
# Turn off Strict Bourne shell mode.
set +o sh
if ifconfig lo0 inet6 >/dev/null 2>&1; then
IP6KERNEL=true
- ip6routes
fi
# Load key material for the generation of IPv6 Semantically Opaque Interface
ifconfig lo0 inet 127.0.0.1/8
fi
+if $IP6KERNEL && ! $PRINT_ONLY; then
+ ip6routes
+fi
+
# Create all the pseudo interfaces up front.
vifscreate