NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bin/42179: route(8) fails to detect and complain about missing arguments

>Number:         42179
>Category:       bin
>Synopsis:       "route -n get" prints obscure error message instead of 
>complaining about the missing argument
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Oct 13 21:30:00 +0000 2009
>Originator:     Christoph Badura
>Release:        NetBSD 5.99.20 (has been there forever)
bozotic software testing labs
System: NetBSD of-course-i-still-love-you 5.99.20 NetBSD 5.99.20 (XEN3_DOMU) 
#6: Mon Oct 12 22:27:22 UTC 2009 
Architecture: i386
Machine: i386
Invoking route(8) in the form of "route -flags cmd" without the required
argument(s) for "cmd" causes it to print an obscure error message.

The error has been there since revision 1.1 of route.c.

% route -n get
route: writing to routing socket: Invalid argument
% sudo route -n add
route: writing to routing socket: Invalid argument
add host Invalid argument



Home | Main Index | Thread Index | Old Index