mirror of
https://github.com/opnsense/src.git
synced 2026-04-21 06:07:31 -04:00
Remove redundant ip6_plen initialization.
MFC after: 1 week Sponsored by: Yandex LLC
This commit is contained in:
parent
c28d9d0f9f
commit
ab2164e0b5
1 changed files with 0 additions and 3 deletions
|
|
@ -488,12 +488,9 @@ ipip_output(
|
|||
ip6o->ip6_flow = 0;
|
||||
ip6o->ip6_vfc &= ~IPV6_VERSION_MASK;
|
||||
ip6o->ip6_vfc |= IPV6_VERSION;
|
||||
ip6o->ip6_plen = htons(m->m_pkthdr.len);
|
||||
ip6o->ip6_hlim = IPV6_DEFHLIM;
|
||||
ip6o->ip6_dst = saidx->dst.sin6.sin6_addr;
|
||||
ip6o->ip6_src = saidx->src.sin6.sin6_addr;
|
||||
|
||||
/* Fix payload length */
|
||||
ip6o->ip6_plen = htons(m->m_pkthdr.len - sizeof(*ip6));
|
||||
|
||||
switch (tp) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue