now that we don't automagicly increase the MTU of host routes, when we copy
the loopback interface, copy it's mtu also.. This means that we again have large mtu support for local ip addresses...
This commit is contained in:
parent
d4b7423fa1
commit
402865f637
@ -294,8 +294,10 @@ arp_rtrequest(req, rt, info)
|
||||
rt->rt_expire = 0;
|
||||
bcopy(IF_LLADDR(rt->rt_ifp), LLADDR(SDL(gate)),
|
||||
SDL(gate)->sdl_alen = rt->rt_ifp->if_addrlen);
|
||||
if (useloopback)
|
||||
if (useloopback) {
|
||||
rt->rt_ifp = loif;
|
||||
rt->rt_rmx.rmx_mtu = loif->if_mtu;
|
||||
}
|
||||
|
||||
/*
|
||||
* make sure to set rt->rt_ifa to the interface
|
||||
|
Loading…
x
Reference in New Issue
Block a user