From owner-freebsd-arch@FreeBSD.ORG Fri Sep 23 13:56:51 2005 Return-Path: X-Original-To: arch@FreeBSD.org Delivered-To: freebsd-arch@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CD3BE16A41F for ; Fri, 23 Sep 2005 13:56:51 +0000 (GMT) (envelope-from tobez@tobez.org) Received: from heechee.tobez.org (heechee.tobez.org [217.157.39.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6DACC43D45 for ; Fri, 23 Sep 2005 13:56:50 +0000 (GMT) (envelope-from tobez@tobez.org) Received: by heechee.tobez.org (Postfix, from userid 1001) id 85CBB125493; Fri, 23 Sep 2005 15:56:49 +0200 (CEST) Date: Fri, 23 Sep 2005 15:56:49 +0200 From: Anton Berezin To: arch@FreeBSD.org Message-ID: <20050923135649.GD25534@heechee.tobez.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Powered-By: FreeBSD http://www.freebsd.org/ User-Agent: Mutt/1.5.10i Cc: Subject: [CFR] Introduce "route del" as a synonym to "route delete" X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Sep 2005 13:56:51 -0000 Any objections? Index: keywords =================================================================== RCS file: /home/ncvs/src/sbin/route/keywords,v retrieving revision 1.5 diff -u -r1.5 keywords --- keywords 12 Jun 2001 13:31:53 -0000 1.5 +++ keywords 23 Sep 2005 13:21:42 -0000 @@ -6,6 +6,7 @@ blackhole change cloning +del delete dst expire Index: route.8 =================================================================== RCS file: /home/ncvs/src/sbin/route/route.8,v retrieving revision 1.44 diff -u -r1.44 route.8 --- route.8 13 Feb 2005 22:25:16 -0000 1.44 +++ route.8 23 Sep 2005 13:26:10 -0000 @@ -83,13 +83,15 @@ .Pp The .Nm -utility provides six commands: +utility provides seven commands: .Pp .Bl -tag -width Fl -compact .It Cm add Add a route. .It Cm flush Remove all routes. +.It Cm del +Delete a specific route. .It Cm delete Delete a specific route. .It Cm change Index: route.c =================================================================== RCS file: /home/ncvs/src/sbin/route/route.c,v retrieving revision 1.79 diff -u -r1.79 route.c --- route.c 23 May 2005 14:12:32 -0000 1.79 +++ route.c 23 Sep 2005 13:21:50 -0000 @@ -174,6 +174,7 @@ case K_CHANGE: case K_ADD: + case K_DEL: case K_DELETE: newroute(argc, argv); /* NOTREACHED */ -- An undefined problem has an infinite number of solutions. -- Robert A. Humphrey