++cast
This commit is contained in:
parent
831d69fe9c
commit
d8d1defa50
1 changed files with 2 additions and 2 deletions
|
@ -67,7 +67,7 @@ action delta_udp_from_v4_to_v6()
|
|||
tmp[16:16] = 0;
|
||||
}
|
||||
|
||||
hdr.udp.checksum = tmp;
|
||||
hdr.udp.checksum = (bit<16>) tmp;
|
||||
}
|
||||
|
||||
action delta_tcp_from_v4_to_v6()
|
||||
|
@ -85,7 +85,7 @@ action delta_tcp_from_v4_to_v6()
|
|||
tmp[16:16] = 0;
|
||||
}
|
||||
|
||||
hdr.tcp.checksum = tmp;
|
||||
hdr.tcp.checksum = (bit<16>) tmp;
|
||||
}
|
||||
|
||||
action delta_ipv4_from_v6_to_v4()
|
||||
|
|
Loading…
Reference in a new issue