+2007-08-17 Denis Ovsienko
+
+ * kernel_socket.c: (rtm_read) Ignore any routing socket messages
+ without RTF_DONE flag set, as they are just noise for us.
+
2007-08-14 Denis Ovsienko
* zebra_rib.c: (nexthop_active_update) Added a comment
/* Read destination and netmask and gateway from rtm message
structure. */
flags = rtm_read_mesg (rtm, &dest, &mask, &gate, ifname, &ifnlen);
+ if (!(flags & RTF_DONE))
+ return;
if (IS_ZEBRA_DEBUG_KERNEL)
zlog_debug ("%s: got rtm of type %d (%s)", __func__, rtm->rtm_type,
LOOKUP (rtm_type_str, rtm->rtm_type));
{
char buf[INET_ADDRSTRLEN], gate_buf[INET_ADDRSTRLEN];
int ret;
- if (!(flags & RTF_DONE))
- return;
if (! IS_ZEBRA_DEBUG_RIB)
return;
ret = rib_lookup_ipv4_route (&p, &gate);