From owner-svn-src-user@FreeBSD.ORG Sat Jan 10 05:24:48 2009 Return-Path: Delivered-To: svn-src-user@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1D108106566C; Sat, 10 Jan 2009 05:24:48 +0000 (UTC) (envelope-from kmacy@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 0C2678FC16; Sat, 10 Jan 2009 05:24:48 +0000 (UTC) (envelope-from kmacy@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n0A5OlkQ080982; Sat, 10 Jan 2009 05:24:47 GMT (envelope-from kmacy@svn.freebsd.org) Received: (from kmacy@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n0A5Ol1K080980; Sat, 10 Jan 2009 05:24:47 GMT (envelope-from kmacy@svn.freebsd.org) Message-Id: <200901100524.n0A5Ol1K080980@svn.freebsd.org> From: Kip Macy Date: Sat, 10 Jan 2009 05:24:47 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org X-SVN-Group: user MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r187009 - user/kmacy/HEAD_fast_net/sbin/route X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the experimental " user" src tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Jan 2009 05:24:48 -0000 Author: kmacy Date: Sat Jan 10 05:24:47 2009 New Revision: 187009 URL: http://svn.freebsd.org/changeset/base/187009 Log: - remove shutdown - update route flags Modified: user/kmacy/HEAD_fast_net/sbin/route/keywords user/kmacy/HEAD_fast_net/sbin/route/route.c Modified: user/kmacy/HEAD_fast_net/sbin/route/keywords ============================================================================== --- user/kmacy/HEAD_fast_net/sbin/route/keywords Sat Jan 10 05:15:40 2009 (r187008) +++ user/kmacy/HEAD_fast_net/sbin/route/keywords Sat Jan 10 05:24:47 2009 (r187009) @@ -46,7 +46,6 @@ rttvar sa sendpipe show -shutdown ssthresh static sticky Modified: user/kmacy/HEAD_fast_net/sbin/route/route.c ============================================================================== --- user/kmacy/HEAD_fast_net/sbin/route/route.c Sat Jan 10 05:15:40 2009 (r187008) +++ user/kmacy/HEAD_fast_net/sbin/route/route.c Sat Jan 10 05:24:47 2009 (r187009) @@ -177,7 +177,6 @@ main(argc, argv) case K_ADD: case K_DEL: case K_DELETE: - case K_SHUTDOWN: newroute(argc, argv); /* NOTREACHED */ @@ -574,7 +573,7 @@ newroute(argc, argv) errx(EX_NOPERM, "must be root to alter routing table"); } cmd = argv[0]; - if (*cmd != 'g' && cmd != 's') + if (*cmd != 'g' && *cmd != 's') shutdown(s, SHUT_RD); /* Don't want to read back our messages */ while (--argc > 0) { @@ -1299,9 +1298,9 @@ char metricnames[] = "\1mtu"; char routeflags[] = "\1UP\2GATEWAY\3HOST\4REJECT\5DYNAMIC\6MODIFIED\7DONE" -"\012XRESOLVE\013LLINFO\014STATIC\015BLACKHOLE\016b016" +"\012XRESOLVE\013LLINFO\014STATIC\015BLACKHOLE" "\017PROTO2\020PROTO1\021PRCLONING\022WASCLONED\023PROTO3" -"\025PINNED\026LOCAL\027BROADCAST\030MULTICAST\035STICKY\036SHUTDOWN"; +"\025PINNED\026LOCAL\027BROADCAST\030MULTICAST\035STICKY"; char ifnetflags[] = "\1UP\2BROADCAST\3DEBUG\4LOOPBACK\5PTP\6b6\7RUNNING\010NOARP" "\011PPROMISC\012ALLMULTI\013OACTIVE\014SIMPLEX\015LINK0\016LINK1"