mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-05 06:23:04 +00:00
isisd: remove unused struct fields
These fields were introduced by commit e38e0df01a
, but they were
never put to any use. Remove them.
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
This commit is contained in:
parent
9316c82336
commit
6fa6324d4b
@ -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;
|
||||
}
|
||||
|
@ -28,14 +28,12 @@
|
||||
struct isis_nexthop6 {
|
||||
ifindex_t ifindex;
|
||||
struct in6_addr ip6;
|
||||
struct in6_addr router_address6;
|
||||
unsigned int lock;
|
||||
};
|
||||
|
||||
struct isis_nexthop {
|
||||
ifindex_t ifindex;
|
||||
struct in_addr ip;
|
||||
struct in_addr router_address;
|
||||
unsigned int lock;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user