From owner-cvs-all Fri Nov 23 4:39:28 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 29FB437B405; Fri, 23 Nov 2001 04:39:21 -0800 (PST) Received: (from brian@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id fANCdL925551; Fri, 23 Nov 2001 04:39:21 -0800 (PST) (envelope-from brian) Message-Id: <200111231239.fANCdL925551@freefall.freebsd.org> From: Brian Somers Date: Fri, 23 Nov 2001 04:39:20 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/ppp ncpaddr.c ncpaddr.h route.c X-FreeBSD-CVS-Branch: HEAD 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/11/23 04:39:20 PST Modified files: usr.sbin/ppp ncpaddr.c ncpaddr.h route.c Log: Don't adjust_linklocal() when pulling a sockaddr out of an ncpaddr or ncprange structure. Don't write() the netmask for IPv6 sockaddrs to the routing socket if the prefixlen is 128. It seems that messages written to the routing socket with the scopeid set for link local addresses are not understood. Instead, we have to put the scopeid in the 5th and 6th bytes of the address (see adjust_linklocal() in ncpaddr.c). I think this may be a bug in the KAME implementation - it should really understand both forms. Revision Changes Path 1.5 +16 -3 src/usr.sbin/ppp/ncpaddr.c 1.3 +2 -1 src/usr.sbin/ppp/ncpaddr.h 1.78 +3 -9 src/usr.sbin/ppp/route.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message