diff options
Diffstat (limited to 'zebra')
-rw-r--r-- | zebra/ChangeLog | 5 | ||||
-rw-r--r-- | zebra/rt_socket.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/zebra/ChangeLog b/zebra/ChangeLog index 49d922d8..b0f09511 100644 --- a/zebra/ChangeLog +++ b/zebra/ChangeLog @@ -1,3 +1,8 @@ +2005-12-29 Greg Troxel <gdt@fnord.ir.bbn.com> + + * rt_socket.c (kernel_rtm_ipv4): Use AF_INET rather than AF_UNSPEC + for mask. From David Young. + 2005-11-26 Paul Jakma <paul.jakma@sun.com> * connected.{c,h}: (connected_add_ipv6) label should have diff --git a/zebra/rt_socket.c b/zebra/rt_socket.c index 67d29538..f9f194eb 100644 --- a/zebra/rt_socket.c +++ b/zebra/rt_socket.c @@ -146,7 +146,7 @@ kernel_rtm_ipv4 (int cmd, struct prefix *p, struct rib *rib, int family) else { masklen2ip (p->prefixlen, &sin_mask.sin_addr); - sin_mask.sin_family = AF_UNSPEC; + sin_mask.sin_family = AF_INET; #ifdef HAVE_SIN_LEN sin_mask.sin_len = sin_masklen (sin_mask.sin_addr); #endif /* HAVE_SIN_LEN */ |