Fix typo

Signed-off-by: Mingzhen Feng <fmzhen@zju.edu.cn>
This commit is contained in:
fmzhen 2015-09-07 14:30:47 +08:00 committed by Mingzhen Feng
parent 1e2e08e8a2
commit c0038eeedc

View File

@ -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)