Skip to content
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

Get broadcast addr in AddrList #226

Merged
merged 1 commit into from
May 2, 2017
Merged

Get broadcast addr in AddrList #226

merged 1 commit into from
May 2, 2017

Conversation

feiskyer
Copy link
Contributor

ip addr show command shows broadcast address, but it is not set in AddrList().

This PR sets broadcast addr so it is consistent with ip addr show.

Signed-off-by: Pengfei Ni <feiskyer@gmail.com>
@feiskyer
Copy link
Contributor Author

feiskyer commented May 1, 2017

@vishvananda Could you have a look at this?

feiskyer added a commit to feiskyer/ovn-kubernetes that referenced this pull request May 2, 2017
addrList is a workround for also getting broadcast addr.
It should be replaced by netlink.AddrList after
vishvananda/netlink#226 is merged.

Signed-off-by: Pengfei Ni <feiskyer@gmail.com>
@vishvananda vishvananda merged commit 1e04588 into vishvananda:master May 2, 2017
@feiskyer feiskyer deleted the broadcast branch May 3, 2017 06:35
@feiskyer
Copy link
Contributor Author

feiskyer commented May 3, 2017

@vishvananda Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants