+ /*
+ * Copy the link layer information in SDL when present
+ * as it later gets used to issue the kernel event for
+ * node absence.
+ */
+ if (sdl != NULL && rt->rt_gateway != NULL &&
+ rt->rt_gateway->sa_family == AF_LINK &&
+ SDL(rt->rt_gateway)->sdl_len <= sizeof(*sdl)) {
+ bcopy(rt->rt_gateway, sdl, SDL(rt->rt_gateway)->sdl_len);
+ }
+