#576730 net-tools: route gives incomprehensible error message for non-existing routes

Package:
net-tools
Source:
net-tools
Description:
NET-3 networking toolkit
Submitter:
Moritz Lenz
Date:
2010-04-06 19:27:07 UTC
Severity:
normal
#576730#5
Date:
2010-04-06 18:51:21 UTC
From:
To:
When trying to delete a non-existing route (such as "foo" below), one
gets an
incomprehensible error message:

$ sudo route del foo
SIOCDELRT: No such process

I have no idea what SIOCDELRT means, and even if I look that up, the "No
such process" makes no sense to me, because I wanted to delete a route,
not a process.

Something like 'No such route: "foo"' would be much better and more
informative.