From c0038eeedc0086138db636f6a37abe45f1ecba65 Mon Sep 17 00:00:00 2001 From: fmzhen Date: Mon, 7 Sep 2015 14:30:47 +0800 Subject: [PATCH] Fix typo Fix typo Signed-off-by: Mingzhen Feng --- route_linux.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/route_linux.go b/route_linux.go index 9e76d44..5aa57d0 100644 --- a/route_linux.go +++ b/route_linux.go @@ -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)