Set checksum flag for icmp
This commit is contained in:
parent
14cb402d90
commit
fb02ca1a7f
2 changed files with 4 additions and 1 deletions
|
|
@ -307,6 +307,8 @@ Echo or Echo Reply Message
|
|||
hdr.icmp.type = ICMP_ECHO_REPLY;
|
||||
hdr.ipv4.src_addr = hdr.ipv4.dst_addr;
|
||||
hdr.ipv4.dst_addr = tmp;
|
||||
|
||||
meta.chk_icmp = 1;
|
||||
}
|
||||
|
||||
table icmp {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue