repair type 0 routing header support. it was caused by RFC2292/2292bis
difference. from: jinmei@kame.net
This commit is contained in:
parent
9ec6d409a0
commit
f729518373
@ -157,7 +157,8 @@ ip6_rthdr0(m, ip6, rh0)
|
||||
|
||||
index = addrs - rh0->ip6r0_segleft;
|
||||
rh0->ip6r0_segleft--;
|
||||
nextaddr = ((struct in6_addr *)(rh0 + 1)) + index;
|
||||
/* note that ip6r0_addr does not exist in RFC2292bis */
|
||||
nextaddr = rh0->ip6r0_addr + index;
|
||||
|
||||
/*
|
||||
* reject invalid addresses. be proactive about malicious use of
|
||||
|
Loading…
Reference in New Issue
Block a user