This commit is contained in:
Nico Schottelius 2019-03-06 13:13:01 +01:00
parent 0ca0b94b1c
commit 1b95179fc5

View file

@ -37,7 +37,7 @@ parser MyParser(packet_in packet,
state ipv6 {
packet.extract(hdr.ipv6);
meta.tcp_length = hdr.ipv6.payload_length;
meta.cast_length = (<bit32>) hdr.ipv6.payload_length;
meta.cast_length = (bit<32>) hdr.ipv6.payload_length;
transition select(hdr.ipv6.next_header){
PROTO_TCP: tcp;