NetBSD Problem Report #29988

From mlelstv@pepew.1st.de  Sat Apr 16 20:42:37 2005
Return-Path: <mlelstv@pepew.1st.de>
Received: from serpens.de (serpens.de [62.208.181.200])
	by narn.netbsd.org (Postfix) with ESMTP id F3A4063B116
	for <gnats-bugs@gnats.NetBSD.org>; Sat, 16 Apr 2005 20:42:35 +0000 (UTC)
Message-Id: <200504162042.j3GKgP2h019797@pepew.1st.de>
Date: Sat, 16 Apr 2005 22:42:25 +0200 (CEST)
From: mlelstv@serpens.de
Reply-To: mlelstv@serpens.de
To: gnats-bugs@netbsd.org
Subject: deleting default route ignores destination
X-Send-Pr-Version: 3.95

>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
>Last-Modified:  Mon Apr 18 05:00:01 +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:


>Audit-Trail:
From: matthew green <mrg@eterna.com.au>
To: gnats-bugs@netbsd.org
Cc: gnats-admin@netbsd.org, netbsd-bugs@netbsd.org
Subject: re: bin/29988: deleting default route ignores destination 
Date: Mon, 18 Apr 2005 14:59:26 +1000

 i consider it a feature that while netbsd only supports
 one default route that "route delete default" works.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.