]> git.puffer.fish Git - mirror/frr.git/commitdiff
ospf6d: Fix redistribution debug knowledge
authorDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 3 May 2017 18:33:28 +0000 (14:33 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 3 May 2017 18:33:28 +0000 (14:33 -0400)
When redistributing into ospfv3 specify that the
route is add or delete correctly.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
ospf6d/ospf6_zebra.c

index 1904623e714208e3c32e5c880cc71ad2878f5b71..d0c9e4f042135e6db1e6c9c004be367043724705 100644 (file)
@@ -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);
     }