generating routing message on LL address change
Harti Brandt
hartmut.brandt at dlr.de
Wed Dec 2 17:48:36 UTC 2009
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);
}
More information about the freebsd-net
mailing list