Date: Fri, 23 Nov 2001 04:39:20 -0800 (PST) From: Brian Somers <brian@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/ppp ncpaddr.c ncpaddr.h route.c Message-ID: <200111231239.fANCdL925551@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200111231239.fANCdL925551>