-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vxlan: fix port-range attribute marshalling
Since we were not updating the `buffer` variable when writing to it, the "max" part of the range was over-writing the "min", which caused the netlink message to be considered invalid. By adjusting the buffer to where we write, the netlink add message was properly processed, and the link successfully created. Unit tests were added to assert the expected behavior. Signed-off-by: Miguel Duarte Barroso <[email protected]>
- Loading branch information
Showing
1 changed file
with
49 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters