Subject: bin/29988: deleting default route ignores destination
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org>
From: None <mlelstv@serpens.de>
List: netbsd-bugs
Date: 04/16/2005 20:43:00
>Number: 29988
>Category: bin
>Synopsis: deleting default route ignores destination
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Apr 16 20:43:00 +0000 2005
>Originator: Michael van Elst
>Release: NetBSD 2.0.2
>Organization:
--
Michael van Elst
Internet: mlelstv@serpens.de
"A potential Snark may lurk in every tree."
>Environment:
System: NetBSD pepew 2.0.2 NetBSD 2.0.2 (PEPEW) #32: Sat Apr 9 14:59:52 CEST 2005 src@pepew:/sys/arch/i386/compile/PEPEW i386
Architecture: i386
Machine: i386
>Description:
The route commands accepts to delete a default route with the
syntax:
route delete default <gateway>
but the actual operation ignores the gateway parameter. In fact,
you can omit the parameter altogether.
If that behaviour is wanted it should be documented in the manual,
but IMHO the parameter should be verified.
>How-To-Repeat:
% route add default 1.2.3.4
add net default: gateway 1.2.3.4
% route delete default 5.6.7.8
delete net default: gateway 5.6.7.8
%
>Fix:
>Unformatted: