-1
This commit is contained in:
parent
51bf8b9ace
commit
fc60e4f45f
1 changed files with 2 additions and 2 deletions
|
@ -68,13 +68,13 @@ action delta_prepare()
|
||||||
action delta_udp_from_v4_to_v6()
|
action delta_udp_from_v4_to_v6()
|
||||||
{
|
{
|
||||||
delta_prepare();
|
delta_prepare();
|
||||||
hdr.udp.checksum = hdr.udp.checksum + ~meta.headerdiff;
|
hdr.udp.checksum = hdr.udp.checksum + ~meta.headerdiff -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
action delta_tcp_from_v4_to_v6()
|
action delta_tcp_from_v4_to_v6()
|
||||||
{
|
{
|
||||||
delta_prepare();
|
delta_prepare();
|
||||||
hdr.tcp.checksum = hdr.tcp.checksum + ~meta.headerdiff;
|
hdr.tcp.checksum = hdr.tcp.checksum + ~meta.headerdiff -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
action delta_ipv4_from_v6_to_v4()
|
action delta_ipv4_from_v6_to_v4()
|
||||||
|
|
Loading…
Reference in a new issue