summaryrefslogtreecommitdiff
path: root/ospf6d
diff options
context:
space:
mode:
authorDenis Ovsienko <infrastation@yandex.ru>2011-12-05 16:35:14 +0400
committerDenis Ovsienko <infrastation@yandex.ru>2012-01-23 14:31:42 +0400
commitb4e45f67057be22133b6bec88cdf285d5c8214db (patch)
tree80f775047efb255ef573b2e9d3affb1a7caeb6d1 /ospf6d
parent6eac79a6fed4842e00607c00c445213b51bba377 (diff)
fix zebra protocol after MP-BGP changes
The previous commits modified both zebra and bgpd for additional SAFI field, but not any other routing daemon, which led to zebra daemon crashing with failed assertion.
Diffstat (limited to 'ospf6d')
-rw-r--r--ospf6d/ospf6_zebra.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ospf6d/ospf6_zebra.c b/ospf6d/ospf6_zebra.c
index 881771a7..f09e9d22 100644
--- a/ospf6d/ospf6_zebra.c
+++ b/ospf6d/ospf6_zebra.c
@@ -451,6 +451,7 @@ ospf6_zebra_route_update (int type, struct ospf6_route *request)
api.type = ZEBRA_ROUTE_OSPF6;
api.flags = 0;
api.message = 0;
+ api.safi = SAFI_UNICAST;
SET_FLAG (api.message, ZAPI_MESSAGE_NEXTHOP);
api.nexthop_num = nhcount;
api.nexthop = nexthops;