summaryrefslogtreecommitdiffstats
path: root/ospf6d
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-05-03 20:33:28 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-05-03 20:33:28 +0200
commit09b3c328383249c44eb0aa369effc007cec683ed (patch)
treeda9b8b02f22564438783d4e3d171ffe010766214 /ospf6d
parentbgpd: Fix crashes with '[no] neighbor ... shutdown ..' command (diff)
downloadfrr-09b3c328383249c44eb0aa369effc007cec683ed.tar.xz
frr-09b3c328383249c44eb0aa369effc007cec683ed.zip
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>
Diffstat (limited to 'ospf6d')
-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 1904623e7..d0c9e4f04 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);
}