summaryrefslogtreecommitdiff
path: root/zebra/rtread_proc.c
diff options
context:
space:
mode:
authorG.Balaji <balajig81@gmail.com>2011-11-26 21:59:32 +0400
committerDenis Ovsienko <infrastation@yandex.ru>2012-01-23 14:30:42 +0400
commitcddf391bf6839e9f093cef15508669c1f3f92122 (patch)
tree38dfaa5a7b98776ba67bb8a812beec8724810839 /zebra/rtread_proc.c
parent5a616c08ce089e25dc0e8da920727af4d11279bf (diff)
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/rtread_proc.c')
-rw-r--r--zebra/rtread_proc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/rtread_proc.c b/zebra/rtread_proc.c
index 1de435a4..07e8491a 100644
--- a/zebra/rtread_proc.c
+++ b/zebra/rtread_proc.c
@@ -96,7 +96,7 @@ proc_route_read (void)
p.prefixlen = ip_masklen (tmpmask);
sscanf (gate, "%lX", (unsigned long *)&gateway);
- rib_add_ipv4 (ZEBRA_ROUTE_KERNEL, zebra_flags, &p, &gateway, NULL, 0, 0, 0, 0);
+ rib_add_ipv4 (ZEBRA_ROUTE_KERNEL, zebra_flags, &p, &gateway, NULL, 0, 0, 0, 0, SAFI_UNICAST);
}
fclose (fp);