+1
This commit is contained in:
parent
fc60e4f45f
commit
2caace5735
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 -1;
|
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 -1;
|
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