From owner-freebsd-current@FreeBSD.ORG Sat Aug 24 12:30:33 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 6F62A190; Sat, 24 Aug 2013 12:30:33 +0000 (UTC) (envelope-from kpaasial@gmail.com) Received: from mail-qc0-x22e.google.com (mail-qc0-x22e.google.com [IPv6:2607:f8b0:400d:c01::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 22B382BDC; Sat, 24 Aug 2013 12:30:33 +0000 (UTC) Received: by mail-qc0-f174.google.com with SMTP id e10so196325qcy.33 for ; Sat, 24 Aug 2013 05:30:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=442la6lD2HaVEVGcbrBT4fqNYo3JExQolLU4W3HrxYI=; b=UZDJIVJUV7B7hKnZJU/awYjQ7sflyucEwjsaiK2jA3e/8ulbr2RWjAbfPpIRT8PJtr doKpfAelqBvMdvj+TMNMmMeIkTW5a3uLYmRFmrRg/M/Yc+y+qMBF4sFPXHKfQdLx/4Al ZIuYjZlr2330eGu7kvJj5DVAeXADWp+6znTLn1/wxt9Sv3moDOCas6oVVN5yBEDTasjL VygJyxG1UfT6gPtTiiMLum23XuGUvDyTQU78bI16BVA/vvJ1dSCFBte5wc+Mhz0gB0hD Pvzrd3HzPqQw9Rl0otONw2596uGXuotsbMr9+4jO1h0WkZ3kGNLZTRWzs1PbwxTtqlVJ ZhtQ== MIME-Version: 1.0 X-Received: by 10.49.35.203 with SMTP id k11mr5709461qej.5.1377347432272; Sat, 24 Aug 2013 05:30:32 -0700 (PDT) Received: by 10.224.5.195 with HTTP; Sat, 24 Aug 2013 05:30:32 -0700 (PDT) In-Reply-To: <20130824134223.6bf7634c@FreeBSD.org> References: <20130824134223.6bf7634c@FreeBSD.org> Date: Sat, 24 Aug 2013 15:30:32 +0300 Message-ID: Subject: Re: route get fails From: Kimmo Paasiala To: Pawel Pekala Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD current 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: Sat, 24 Aug 2013 12:30:33 -0000 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=C5=82 P=C4=99kala 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