diff options
author | Denis Ovsienko <linux@pilot.org.ua> | 2007-09-06 16:34:41 +0200 |
---|---|---|
committer | Denis Ovsienko <linux@pilot.org.ua> | 2007-09-06 16:34:41 +0200 |
commit | 882968e0a2fe65db5aff29149c87f6d292a1cd2d (patch) | |
tree | 6d95bdf399083c5fa585fc4f848052cff05e09e8 /zebra/rtread_sysctl.c | |
parent | [bgpd] bug #398 Bogus free on out route-map, and assert() with rsclients (diff) | |
download | frr-882968e0a2fe65db5aff29149c87f6d292a1cd2d.tar.xz frr-882968e0a2fe65db5aff29149c87f6d292a1cd2d.zip |
+ fixed bug #400: adjusted rtread_sysctl.c:route_read()
Diffstat (limited to 'zebra/rtread_sysctl.c')
-rw-r--r-- | zebra/rtread_sysctl.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/zebra/rtread_sysctl.c b/zebra/rtread_sysctl.c index 88527b374..b8f5bde70 100644 --- a/zebra/rtread_sysctl.c +++ b/zebra/rtread_sysctl.c @@ -68,6 +68,8 @@ route_read (void) for (end = buf + bufsiz; buf < end; buf += rtm->rtm_msglen) { rtm = (struct rt_msghdr *) buf; + /* We must set RTF_DONE here, so rtm_read() doesn't ignore the message. */ + SET_FLAG (rtm->rtm_flags, RTF_DONE); rtm_read (rtm); } |