forked from thom311/libnl
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
link: Add function to unset carrier request
When fetching from the kernel this flag seems to be set and when making a change request this presists. Since it's only internal variables we need a function to unset it from the outside. ndo_carrier_change in the kernel should only be implemented by non-hardware interfaces. For hardware interfaces (e.g. physical ports) it will be EOPNOTSUPP. Allow unsetting it to not get an error. Signed-off-by: Casper Andersson <casper.andersson@westermo.com>
- Loading branch information
Casper Andersson
committed
May 23, 2024
1 parent
b227834
commit ab8cd24
Showing
3 changed files
with
13 additions
and
0 deletions.
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
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
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