mirror of
https://github.com/vishvananda/netlink
synced 2025-01-30 03:33:46 +00:00
Fix typo
Fix typo Signed-off-by: Mingzhen Feng <fmzhen@zju.edu.cn>
This commit is contained in:
parent
1e2e08e8a2
commit
c0038eeedc
@ -17,7 +17,7 @@ func RouteAdd(route *Route) error {
|
||||
return routeHandle(route, req, nl.NewRtMsg())
|
||||
}
|
||||
|
||||
// RouteAdd will delete a route from the system.
|
||||
// RouteDel will delete a route from the system.
|
||||
// Equivalent to: `ip route del $route`
|
||||
func RouteDel(route *Route) error {
|
||||
req := nl.NewNetlinkRequest(syscall.RTM_DELROUTE, syscall.NLM_F_ACK)
|
||||
|
Loading…
Reference in New Issue
Block a user