]> git.puffer.fish Git - matthieu/frr.git/commit
isisd: The neighbor entry still displays the deleted hostname of the neighbor
authorzhou-run <zhou.run@h3c.com>
Fri, 21 Jun 2024 06:26:44 +0000 (14:26 +0800)
committerzhourun (RD) <zhou.run@h3c.com>
Mon, 8 Jul 2024 07:53:46 +0000 (15:53 +0800)
commitf54970ff43d6dc376081328614febb31f58df75d
treee3a18886d009f148279c6d8ab8c99deb0b9085ad
parent045029e2442dbca3b6e7685438d171fa05c0f968
isisd: The neighbor entry still displays the deleted hostname of the neighbor

1. The lsp_update_data() function will check for the presence of the ISIS_TLV_DYNAMIC_HOSTNAME in the LSP, and then call isis_dynhn_insert() to add a hostname entry corresponding to the LSP ID. However, when the ISIS_TLV_DYNAMIC_HOSTNAME is not present in the LSP, the hostname entry corresponding to the LSP ID should also be deleted.
2. The command “show isis neighbor” invokes isis_adj_name() to display the System ID or hostname, but it does not check the area->dynhostname flag.
3. When the LSP expires and is removed, the corresponding hostname entry should also be deleted.
4. The TLV for LSP fragmentation will not contain the hostname and should be skipped.

Signed-off-by: zhou-run <zhou.run@h3c.com>
isisd/isis_adjacency.c
isisd/isis_lsp.c
tests/topotests/isis_topo1/test_isis_topo1.py