summaryrefslogtreecommitdiff
path: root/isisd/isis_route.c
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2019-08-06 17:13:38 -0300
committerRenato Westphal <renato@opensourcerouting.org>2019-08-21 00:57:17 -0300
commit6fa6324d4bc3dd7ed9ad5702fb44334abe485236 (patch)
tree70fa40a0c07fa2f1fada38ee8fd9ee25eafe8ef9 /isisd/isis_route.c
parent9316c82336e84191039fd378d92191983f070f6c (diff)
isisd: remove unused struct fields
These fields were introduced by commit e38e0df01ad, but they were never put to any use. Remove them. Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'isisd/isis_route.c')
-rw-r--r--isisd/isis_route.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/isisd/isis_route.c b/isisd/isis_route.c
index 281eaf11bc..238555d154 100644
--- a/isisd/isis_route.c
+++ b/isisd/isis_route.c
@@ -174,7 +174,6 @@ static void adjinfo2nexthop(struct list *nexthops, struct isis_adjacency *adj)
adj->circuit->interface->ifindex)) {
nh = isis_nexthop_create(
ipv4_addr, adj->circuit->interface->ifindex);
- nh->router_address = adj->router_address;
listnode_add(nexthops, nh);
return;
}
@@ -191,7 +190,6 @@ static void adjinfo2nexthop6(struct list *nexthops6, struct isis_adjacency *adj)
adj->circuit->interface->ifindex)) {
nh6 = isis_nexthop6_create(
ipv6_addr, adj->circuit->interface->ifindex);
- nh6->router_address6 = adj->router_address6;
listnode_add(nexthops6, nh6);
return;
}