]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
BSD: Note that to replicate prior we can't have a default route
authorRoy Marples <roy@marples.name>
Wed, 15 Jan 2025 18:51:46 +0000 (18:51 +0000)
committerRoy Marples <roy@marples.name>
Wed, 15 Jan 2025 18:52:25 +0000 (18:52 +0000)
Add a comment for #425

src/if-bsd.c

index 68303e823a317dcc9bcc949c292e51ee398f981a..b752e25c5254a94c787af6786bd75f7e9cc1a8e2 100644 (file)
@@ -742,13 +742,13 @@ if_route(unsigned char cmd, const struct rt *rt)
                {
                        rtm->rtm_index = (unsigned short)rt->rt_ifp->index;
 /*
- * OpenBSD rejects the message for on-link routes.
+ * OpenBSD rejects this for on-link routes when there is no default route
  * FreeBSD-12 kernel apparently panics.
  * I can't replicate the panic, but better safe than sorry!
- * https://roy.marples.name/archives/dhcpcd-discuss/0002286.html
  *
- * Neither OS currently allows IPv6 address sharing anyway, so let's
- * try to encourage someone to fix that by logging a waring during compile.
+ * Neither OS currently allows the same IPv6 address on different
+ * interfaces on the same network, so let's try to encourage someone to
+ * fix that by logging a waring during compile.
  */
 #if defined(__FreeBSD__) || defined(__OpenBSD__)
 #warning kernel does not allow IPv6 address sharing