summaryrefslogtreecommitdiffstats
path: root/zebra/kernel_socket.c
diff options
context:
space:
mode:
authorG.Balaji <balajig81@gmail.com>2011-11-26 18:59:32 +0100
committerDenis Ovsienko <infrastation@yandex.ru>2012-01-23 11:30:42 +0100
commitcddf391bf6839e9f093cef15508669c1f3f92122 (patch)
tree38dfaa5a7b98776ba67bb8a812beec8724810839 /zebra/kernel_socket.c
parentbgpd: IPv4 MP-BGP Routes addition and deletion (diff)
downloadfrr-cddf391bf6839e9f093cef15508669c1f3f92122.tar.xz
frr-cddf391bf6839e9f093cef15508669c1f3f92122.zip
zebra: IPv4 MP-BGP Routes addition and deletion
This patch contains the following: 1. Addition of IPv4 SAFI_MULTICAST BGP routes into the RTM's RIB. 2. Deletion of IPv4 SAFI_MULTICAST BGP routes from the RTM's RIB.
Diffstat (limited to 'zebra/kernel_socket.c')
-rw-r--r--zebra/kernel_socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/kernel_socket.c b/zebra/kernel_socket.c
index e7ceea54f..1ad2a811e 100644
--- a/zebra/kernel_socket.c
+++ b/zebra/kernel_socket.c
@@ -912,7 +912,7 @@ rtm_read (struct rt_msghdr *rtm)
|| rtm->rtm_type == RTM_ADD
|| rtm->rtm_type == RTM_CHANGE)
rib_add_ipv4 (ZEBRA_ROUTE_KERNEL, zebra_flags,
- &p, &gate.sin.sin_addr, NULL, 0, 0, 0, 0);
+ &p, &gate.sin.sin_addr, NULL, 0, 0, 0, 0, SAFI_UNICAST);
else
rib_delete_ipv4 (ZEBRA_ROUTE_KERNEL, zebra_flags,
&p, &gate.sin.sin_addr, 0, 0);