mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
repair type 0 routing header support. it was caused by RFC2292/2292bis
difference. from: jinmei@kame.net
This commit is contained in:
parent
e426928478
commit
ddf47c26f3
1 changed files with 2 additions and 1 deletions
|
|
@ -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 a new issue