Skip to content

Commit 5905fbd

Browse files
committed
BSD: Note that to replicate prior we can't have a default route
Add a comment for #425
1 parent 6d4b19d commit 5905fbd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/if-bsd.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -742,13 +742,13 @@ if_route(unsigned char cmd, const struct rt *rt)
742742
{
743743
rtm->rtm_index = (unsigned short)rt->rt_ifp->index;
744744
/*
745-
* OpenBSD rejects the message for on-link routes.
745+
* OpenBSD rejects this for on-link routes when there is no default route
746746
* FreeBSD-12 kernel apparently panics.
747747
* I can't replicate the panic, but better safe than sorry!
748-
* https://roy.marples.name/archives/dhcpcd-discuss/0002286.html
749748
*
750-
* Neither OS currently allows IPv6 address sharing anyway, so let's
751-
* try to encourage someone to fix that by logging a waring during compile.
749+
* Neither OS currently allows the same IPv6 address on different
750+
* interfaces on the same network, so let's try to encourage someone to
751+
* fix that by logging a waring during compile.
752752
*/
753753
#if defined(__FreeBSD__) || defined(__OpenBSD__)
754754
#warning kernel does not allow IPv6 address sharing

0 commit comments

Comments
 (0)