Hi all,

I would like to commit the following patch. It generates an RTM_IFINFO message when the link-layer address of an interface is changed. This should be no problem for routing daemons, because the same messages are also generated when other interface state changes. Are there any reasons not to do this?

harti

Index: /sys/net/if.c
===================================================================
RCS file: /freebsd/cvsup/src/sys/net/if.c,v
retrieving revision 1.370
diff -u -r1.370 if.c
--- /sys/net/if.c       30 Nov 2009 21:25:57 -0000      1.370
+++ /sys/net/if.c       2 Dec 2009 17:33:56 -0000
@@ -3136,6 +3136,10 @@
                }
 #endif
        }
+
+       /* inform daemons */
+       rt_ifmsg(ifp);
+
        return (0);
 }

_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Reply via email to