freebsd-skq/sys
Ruslan Ermilov 8071913df2 Pull post-4.4BSD change to sys/net/route.c from BSD/OS 4.2.
Have sys/net/route.c:rtrequest1(), which takes ``rt_addrinfo *''
as the argument.  Pass rt_addrinfo all the way down to rtrequest1
and ifa->ifa_rtrequest.  3rd argument of ifa->ifa_rtrequest is now
``rt_addrinfo *'' instead of ``sockaddr *'' (almost noone is
using it anyways).

Benefit: the following command now works.  Previously we needed
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.

Obtained from:	BSD/OS, NetBSD
MFC after:	1 month
PR:		kern/28360
2001-10-17 18:07:05 +00:00
..
alpha
amd64
arm
boot
cam
coda
compat
conf
contrib
crypto
ddb
dev
fs
geom
gnu
i4b
i386
ia64
isa
isofs/cd9660
kern
libkern
modules
net Pull post-4.4BSD change to sys/net/route.c from BSD/OS 4.2. 2001-10-17 18:07:05 +00:00
netatalk
netatm
netgraph
netinet Pull post-4.4BSD change to sys/net/route.c from BSD/OS 4.2. 2001-10-17 18:07:05 +00:00
netinet6 Pull post-4.4BSD change to sys/net/route.c from BSD/OS 4.2. 2001-10-17 18:07:05 +00:00
netipx
netkey
netnatm
netncp
netns
netsmb
nfs
nfsclient
nfsserver
pc98
pccard
pci
posix4
powerpc
rpc
sparc64
svr4
sys
tools
ufs
vm
Makefile