From owner-cvs-all Sun Aug 19 17:58:17 2001 Delivered-To: cvs-all@freebsd.org Received: from Awfulhak.org (gw.Awfulhak.org [217.204.245.18]) by hub.freebsd.org (Postfix) with ESMTP id E669C37B408; Sun, 19 Aug 2001 17:58:09 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from hak.lan.Awfulhak.org (root@hak.lan.Awfulhak.org [fec0::1:12]) by Awfulhak.org (8.11.5/8.11.5) with ESMTP id f7K0vtv00908; Mon, 20 Aug 2001 01:57:55 +0100 (BST) (envelope-from brian@Awfulhak.org) Received: from hak.lan.Awfulhak.org (brian@localhost [127.0.0.1]) by hak.lan.Awfulhak.org (8.11.4/8.11.4) with ESMTP id f7K0vrU08683; Mon, 20 Aug 2001 01:57:53 +0100 (BST) (envelope-from brian@hak.lan.Awfulhak.org) Message-Id: <200108200057.f7K0vrU08683@hak.lan.Awfulhak.org> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Brian Somers Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, brian@freebsd-services.com Subject: Re: cvs commit: src/usr.sbin/ppp route.c In-Reply-To: Message from Brian Somers of "Sun, 19 Aug 2001 17:46:33 PDT." <200108200046.f7K0kXH09188@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 20 Aug 2001 01:57:53 +0100 From: Brian Somers Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > brian 2001/08/19 17:46:33 PDT > > Modified files: > usr.sbin/ppp route.c > Log: > When attempting to change the default route, don't write the gateway > and mask to the routing socket, otherwise the update fails. > > Warning provided by: markm > > The code here was broken for FreeBSD when IPv6 support was added, but > was fixed for OpenBSD. OpenBSD expects the gateway and mask to be > supplied and fails the update otherwise. > > Revision Changes Path > 1.76 +27 -8 src/usr.sbin/ppp/route.c My guess is that both FreeBSD and OpenBSD are wrong here. The gateway and mask are not important (the destination is enough), but their presence shouldn't break things. -- Brian http://www.freebsd-services.com/ Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message