summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-05-03 14:33:28 -0400
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-05-03 14:33:28 -0400
commit09b3c328383249c44eb0aa369effc007cec683ed (patch)
treeda9b8b02f22564438783d4e3d171ffe010766214
parentae9b0e11f6d19460ed633265cf275a1d3b747e88 (diff)
ospf6d: Fix redistribution debug knowledge
When redistributing into ospfv3 specify that the route is add or delete correctly. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
-rw-r--r--ospf6d/ospf6_zebra.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ospf6d/ospf6_zebra.c b/ospf6d/ospf6_zebra.c
index 1904623e71..d0c9e4f042 100644
--- a/ospf6d/ospf6_zebra.c
+++ b/ospf6d/ospf6_zebra.c
@@ -289,7 +289,7 @@ ospf6_zebra_read_ipv6 (int command, struct zclient *zclient,
snprintf (nexthopstr, sizeof (nexthopstr), "::");
zlog_debug ("Zebra Receive route %s: %s %s nexthop %s ifindex %ld tag %"ROUTE_TAG_PRI,
- (command == ZEBRA_IPV6_ROUTE_ADD ? "add" : "delete"),
+ (command == ZEBRA_REDISTRIBUTE_IPV6_ADD ? "add" : "delete"),
zebra_route_string(api.type), prefixstr, nexthopstr, ifindex, api.tag);
}