-
Notifications
You must be signed in to change notification settings - Fork 25
issue: 4424629 Suppress duplicate IP warning for link-local IPv6 #387
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
base: vNext
Are you sure you want to change the base?
Conversation
bot:retest |
3 similar comments
bot:retest |
bot:retest |
bot:retest |
@@ -245,7 +245,9 @@ void net_device_table_mgr::update_tbl() | |||
sa_family_t family) { | |||
auto it = net_device_map.find(ip->local_addr); | |||
if (it != net_device_map.end()) { | |||
duplicate_ips.insert(ip->local_addr.to_str(family)); | |||
if (!(family == AF_INET6 && ip->local_addr.is_linklocal(family))) { |
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.
please put a comment with motivation for this exception. Mention that logical interfaces can have duplicate IPv6 link-local and the warning is not relevant because (1) user needs to specify interface along with link-local address and (2) XLIO doesn't support IPv6 link-local at the moment
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.
Done
Refrain from printing duplicate IP warning for unsupported link-local IPv6. Signed-off-by: Bashar Abdelgafer <[email protected]>
e1f1e1f
to
e78133d
Compare
bot:retest |
3 similar comments
bot:retest |
bot:retest |
bot:retest |
Refrain from printing duplicate IP warning for unsupported link-local IPv6.
Description
Please provide a summary of the change.
What
Subject: what this PR is doing in one line.
Why ?
Justification for the PR. If there is existing issue/bug please reference.
How ?
It is optional but for complex PRs please provide information about the design,
architecture, approach, etc.
Change type
What kind of change does this PR introduce?
Check list