mirror of
https://github.com/vishvananda/netlink
synced 2025-04-11 03:51:42 +00:00
Fix LinkSetDown comment
Signed-off-by: Alexander Morozov <lk4d4@docker.com>
This commit is contained in:
parent
b1aa0245ac
commit
607cdbafd6
@ -48,7 +48,7 @@ func LinkSetUp(link Link) error {
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
// LinkSetUp disables link device.
|
// LinkSetDown disables link device.
|
||||||
// Equivalent to: `ip link set $link down`
|
// Equivalent to: `ip link set $link down`
|
||||||
func LinkSetDown(link Link) error {
|
func LinkSetDown(link Link) error {
|
||||||
base := link.Attrs()
|
base := link.Attrs()
|
||||||
|
Loading…
Reference in New Issue
Block a user