[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CVS: cvs.openbsd.org: src
- To: source-changes_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org
- Subject: CVS: cvs.openbsd.org: src
- From: Jun-ichiro itojun Hagino <itojun_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org>
- Date: Thu, 18 Jan 2001 23:37:38 -0700 (MST)
- Reply-to: Jun-ichiro itojun Hagino <itojun_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org>
CVSROOT: /cvs
Module name: src
Changes by: itojun_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org 2001/01/18 23:37:38
Modified files:
sys/net : if.c if.h if_faith.c if_loop.c route.c route.h
rtsock.c
sys/netccitt : if_x25subr.c pk_extern.h pk_llcsubr.c x25.h
sys/netinet : if_atm.c if_atm.h if_ether.c if_ether.h
sys/netinet6 : nd6.c nd6.h
sys/netiso : eonvar.h if_eon.c iso_snpac.c iso_var.h
Log message:
pull post-4.4BSD change to sys/net/route.c from BSD/OS 4.2 (UCB copyrighted).
have sys/net/route.c:rtrequest1(), which takes rt_addrinfo * as the argument.
pass rt_addrinfo all the way down to rtrequest, and ifa->ifa_rtrequest.
3rd arg of ifa->ifa_rtrequest is now rt_addrinfo * instead of sockaddr *
(almost noone is using it anyways).
benefit: the follwoing command now works. previously we need two route(8)
invocations, "add" then "change".
# route add -inet6 default ::1 -ifp gif0
remove unsafe typecast in rtrequest(), from rtentry * to sockaddr *. it was
introduced by 4.3BSD-reno and never corrected.
XXX is eon_rtrequest() change correct regarding to 3rd arg?
eon_rtrequest() and rtrequest() were incorrect since 4.3BSD-reno,
so i do not have correct answer in the source code.
someone with more clue about netiso-over-ip, please help.
Visit your host, monkey.org