mirror of
https://github.com/espressif/openthread.git
synced 2026-09-05 08:40:06 +00:00
Add the default factory option to the ICMP body factory. (#1159)
This commit is contained in:
committed by
Jonathan Hui
parent
9b7d423f52
commit
7831bf39ed
@@ -209,7 +209,8 @@ def create_default_ipv6_icmp_body_factories():
|
||||
return {
|
||||
ipv6.ICMP_DESTINATION_UNREACHABLE: ipv6.ICMPv6DestinationUnreachableFactory(),
|
||||
ipv6.ICMP_ECHO_REQUEST: ipv6.ICMPv6EchoBodyFactory(),
|
||||
ipv6.ICMP_ECHO_RESPONSE: ipv6.ICMPv6EchoBodyFactory()
|
||||
ipv6.ICMP_ECHO_RESPONSE: ipv6.ICMPv6EchoBodyFactory(),
|
||||
"default": ipv6.BytesPayloadFactory()
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user