Set checksum flag for icmp
This commit is contained in:
parent
14cb402d90
commit
fb02ca1a7f
2 changed files with 4 additions and 1 deletions
|
@ -174,7 +174,8 @@
|
||||||
| | ARP egress support | |
|
| | ARP egress support | |
|
||||||
| | | |
|
| | | |
|
||||||
| 2019-04-03 | | |
|
| 2019-04-03 | | |
|
||||||
| | ARP corrections -- ARP working for the switch! | |
|
| | ARP corrections -- ARP working for the switch! | x |
|
||||||
|
| | ICMP w/ incorrect checksum | x |
|
||||||
| | | |
|
| | | |
|
||||||
| | | |
|
| | | |
|
||||||
| 2019-04-04 | NAT64 1:1 table ICMP, ICMPv6 working | |
|
| 2019-04-04 | NAT64 1:1 table ICMP, ICMPv6 working | |
|
||||||
|
|
|
@ -307,6 +307,8 @@ Echo or Echo Reply Message
|
||||||
hdr.icmp.type = ICMP_ECHO_REPLY;
|
hdr.icmp.type = ICMP_ECHO_REPLY;
|
||||||
hdr.ipv4.src_addr = hdr.ipv4.dst_addr;
|
hdr.ipv4.src_addr = hdr.ipv4.dst_addr;
|
||||||
hdr.ipv4.dst_addr = tmp;
|
hdr.ipv4.dst_addr = tmp;
|
||||||
|
|
||||||
|
meta.chk_icmp = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
table icmp {
|
table icmp {
|
||||||
|
|
Loading…
Reference in a new issue