Date: Wed, 24 Jul 2013 00:39:15 +0200 From: Dimitry Andric <dim@FreeBSD.org> To: Hiroki Sato <hrs@FreeBSD.org> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r253504 - head/sbin/route Message-ID: <36E48152-1A64-432D-A32D-75059A56E181@FreeBSD.org> In-Reply-To: <201307201646.r6KGkpM6054344@svn.freebsd.org> References: <201307201646.r6KGkpM6054344@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Jul 20, 2013, at 18:46, Hiroki Sato <hrs@FreeBSD.org> wrote: > Author: hrs > Date: Sat Jul 20 16:46:51 2013 > New Revision: 253504 > URL: http://svnweb.freebsd.org/changeset/base/253504 > > Log: > - Simplify getaddr() and print_getmsg() by using RTAX_* instead of RTA_* > as the argument. > - Reduce unnecessary loop in print_getmsg(). > > Modified: > head/sbin/route/route.c Hi, This breaks /etc/rc.d/defaultroute, since it relies on "route -n get -inet default" printing a line with "interface:" in it. Before r253504 it prints: route to: 0.0.0.0 destination: 0.0.0.0 mask: 56.18.1.0 gateway: router.example.com fib: 0 interface: em0 flags: <UP,GATEWAY,DONE,STATIC> recvpipe sendpipe ssthresh rtt,msec mtu weight expire 0 0 0 0 1500 1 0 (note also the mask seems to be busted, and even though -n is given, the hostname of the gateway is printed, but this is another issue) At r253504 it gives: route to: 0.0.0.0 destination: 0.0.0.0 mask: 56.18.1.0 gateway: router.example.com fib: 0 flags: <UP,GATEWAY,DONE,STATIC> recvpipe sendpipe ssthresh rtt,msec mtu weight expire 0 0 0 0 1500 1 0 So for some reason, the interface: line is gone.. -Dimitry
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?36E48152-1A64-432D-A32D-75059A56E181>