udp translation adopted
This commit is contained in:
parent
beecac726d
commit
beada8408a
1 changed files with 5 additions and 2 deletions
|
@ -70,8 +70,11 @@ action delta_prepare()
|
|||
|
||||
action delta_udp_from_v4_to_v6()
|
||||
{
|
||||
delta_prepare();
|
||||
hdr.udp.checksum = hdr.udp.checksum + meta.headerdiff;
|
||||
v4sum();
|
||||
v6sum();
|
||||
|
||||
/* here is also a possible overflow in both directions */
|
||||
hdr.udp.checksum = hdr.udp.checksum + meta.v6sum - meta.v4sum;
|
||||
}
|
||||
|
||||
action delta_tcp_from_v4_to_v6()
|
||||
|
|
Loading…
Reference in a new issue