Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove trailing null char from string in devlink
netlink(kernel) returns the string values in a c-style manner terminating with null. when converting to go string these need to be removed as done in other places in the project. keeping the null terminating char prevents comparing devlink dev/port string attributes as the `==` string operand will fail. Signed-off-by: Adrian Chiris <[email protected]>
- Loading branch information