From owner-freebsd-current@FreeBSD.ORG Tue Aug 27 13:17:19 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 65EE969D for ; Tue, 27 Aug 2013 13:17:19 +0000 (UTC) (envelope-from lists@rewt.org.uk) Received: from hosted.mx.as41113.net (abby.lhr1.as41113.net [91.208.177.20]) by mx1.freebsd.org (Postfix) with ESMTP id 2EE5226B4 for ; Tue, 27 Aug 2013 13:17:15 +0000 (UTC) Received: from [192.168.1.218] (staff-ns50-3.as25178.net [212.9.98.1]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: lists@rewt.org.uk) by hosted.mx.as41113.net (Postfix) with ESMTPSA id 3cPVx61MTkzB8 for ; Tue, 27 Aug 2013 14:17:14 +0100 (BST) Message-ID: <521CA6D6.2060509@rewt.org.uk> Date: Tue, 27 Aug 2013 14:17:10 +0100 From: Joe Holden User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: freebsd-current@freebsd.org Subject: Re: route get fails References: <20130824134223.6bf7634c@FreeBSD.org> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Aug 2013 13:17:19 -0000 On 24/08/2013 13:30, Kimmo Paasiala wrote: > On Sat, Aug 24, 2013 at 2:42 PM, Pawel Pekala wrote: >> Hi, >> >> For some time now I get this: >> >> [corn:~]> route get >> route: writing to routing socket: Invalid argument >> >> Is this just my build or anyone can confirm this? >> >> -- >> pozdrawiam / with regards >> Paweł Pękala > > Nothing wrong there, you're not providing a required argument that is > the destination IP address. In my opinion route(8) should return a > proper error message in this case. OS X route(8) behaves exactly the > same BTW. > > -Kimmo You probably want netstat -rnfinet[6] here, judging from your surprise that 'route get' returns the above.