summaryrefslogtreecommitdiffstats
path: root/isisd/isis_adjacency.h
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2023-11-16 14:14:10 +0100
committerDavid Lamparter <equinox@opensourcerouting.org>2023-11-16 17:09:38 +0100
commitc1f665a075baf85c13210fe9ee9b88b1f3a90569 (patch)
treec6d08271a6a1711b69b263a4767845ca331b74ba /isisd/isis_adjacency.h
parentMerge pull request #14807 from Keelan10/fix-babel-int-delete-leak (diff)
downloadfrr-c1f665a075baf85c13210fe9ee9b88b1f3a90569.tar.xz
frr-c1f665a075baf85c13210fe9ee9b88b1f3a90569.zip
isisd: remove unused router_address fields
These were added in e38e0df01ad3 but never used anywhere. Also the code grabs any random /32 or /128 that is directly connected to the adjacent router, which may not even be an address of that router itself. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'isisd/isis_adjacency.h')
-rw-r--r--isisd/isis_adjacency.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/isisd/isis_adjacency.h b/isisd/isis_adjacency.h
index dc181055f..b5c7dd8d7 100644
--- a/isisd/isis_adjacency.h
+++ b/isisd/isis_adjacency.h
@@ -74,12 +74,10 @@ struct isis_adjacency {
struct nlpids nlpids; /* protocols spoken ... */
struct in_addr *ipv4_addresses;
unsigned int ipv4_address_count;
- struct in_addr router_address;
struct in6_addr *ll_ipv6_addrs; /* Link local IPv6 neighbor address */
unsigned int ll_ipv6_count;
struct in6_addr *global_ipv6_addrs; /* Global IPv6 neighbor address */
unsigned int global_ipv6_count;
- struct in6_addr router_address6;
uint8_t prio[ISIS_LEVELS]; /* priorityOfNeighbour for DIS */
int circuit_t; /* from hello PDU hdr */
int level; /* level (1 or 2) */