summaryrefslogtreecommitdiff
path: root/isisd/isis_route.c
diff options
context:
space:
mode:
authorpaulzlabn <paulz@labn.net>2018-03-14 13:31:58 -0700
committerGitHub <noreply@github.com>2018-03-14 13:31:58 -0700
commit3f1224cd1a9408bdad6aca8c0c205211cb548d5c (patch)
tree87e6a52a3e7ad7b09caa3207f081fd92bc8fd018 /isisd/isis_route.c
parentfd9b55a2b77c187730600d429b3f290ab58fa035 (diff)
parent6ca96cc6ada990d052fcfc48cffeef454ae64a10 (diff)
Merge branch 'master' into working/master/bgp-vpn-vrf-leaking
Diffstat (limited to 'isisd/isis_route.c')
-rw-r--r--isisd/isis_route.c40
1 files changed, 0 insertions, 40 deletions
diff --git a/isisd/isis_route.c b/isisd/isis_route.c
index b9605018ed..ad769f9886 100644
--- a/isisd/isis_route.c
+++ b/isisd/isis_route.c
@@ -100,26 +100,6 @@ static int nexthoplookup(struct list *nexthops, struct in_addr *ip,
return 0;
}
-#ifdef EXTREME_DEBUG
-static void nexthop_print(struct isis_nexthop *nh)
-{
- u_char buf[BUFSIZ];
-
- inet_ntop(AF_INET, &nh->ip, (char *)buf, BUFSIZ);
-
- zlog_debug(" %s %u", buf, nh->ifindex);
-}
-
-static void nexthops_print(struct list *nhs)
-{
- struct listnode *node;
- struct isis_nexthop *nh;
-
- for (ALL_LIST_ELEMENTS_RO(nhs, node, nh))
- nexthop_print(nh);
-}
-#endif /* EXTREME_DEBUG */
-
static struct isis_nexthop6 *isis_nexthop6_new(struct in6_addr *ip6,
ifindex_t ifindex)
{
@@ -184,26 +164,6 @@ static int nexthop6lookup(struct list *nexthops6, struct in6_addr *ip6,
return 0;
}
-#ifdef EXTREME_DEBUG
-static void nexthop6_print(struct isis_nexthop6 *nh6)
-{
- u_char buf[BUFSIZ];
-
- inet_ntop(AF_INET6, &nh6->ip6, (char *)buf, BUFSIZ);
-
- zlog_debug(" %s %u", buf, nh6->ifindex);
-}
-
-static void nexthops6_print(struct list *nhs6)
-{
- struct listnode *node;
- struct isis_nexthop6 *nh6;
-
- for (ALL_LIST_ELEMENTS_RO(nhs6, node, nh6))
- nexthop6_print(nh6);
-}
-#endif /* EXTREME_DEBUG */
-
static void adjinfo2nexthop(struct list *nexthops, struct isis_adjacency *adj)
{
struct isis_nexthop *nh;