-
Notifications
You must be signed in to change notification settings - Fork 198
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
Many alias names #348
Many alias names #348
Conversation
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.
Great!
Remember to update the commit message about "exclude alias".
c04fd51
to
ebad5dd
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.
Great!
ea8906f
to
88be926
Compare
88be926
to
a943157
Compare
src/common/pf_dcp.c
Outdated
skip = append_alias_name ? 0 : 1; | ||
value_length = (uint16_t)strlen ((char *)p_value); | ||
skip = alias_name ? 0 : 1; | ||
if (skip == 0) |
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.
Skip is a boolean, skip = alias_name == NULL
and if (!skip)
?
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
Do not store alias name for each LLDP peer. Instead build and check alias when alias is part of id request received.
a943157
to
36b09bb
Compare
Handle multiple alias names.