-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
isisd: The neighbor entry still displays the deleted hostname of the neighbor. #16241
Conversation
6bb6197
to
97201a0
Compare
Seems that tests should be updated/fixed too. |
Yes, I am currently investigating why the hostname entry is being lost in the case of the |
2c03758
to
4fd4374
Compare
4fd4374
to
045029e
Compare
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
e01b761
to
737df2c
Compare
@frrbot rereview |
7654c31
to
f50e173
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good
f11f703
to
3fb3206
Compare
…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 <[email protected]>
failing in ospf; rerunning just the failed tests to see if we can clear them |
lsp_update_data()
function will check for the presence of theISIS_TLV_DYNAMIC_HOSTNAME
in the LSP, and then callisis_dynhn_insert()
to add a hostname entry corresponding to the LSP ID. However, when theISIS_TLV_DYNAMIC_HOSTNAME
is not present in the LSP, the hostname entry corresponding to the LSP ID should also be deleted.isis_adj_name()
to display the System ID or hostname, but it does not check thearea->dynhostname
flag.Signed-off-by: zhou-run [email protected]