Skip to content
Snippets Groups Projects
Commit 726b2579 authored by Pierre LALET's avatar Pierre LALET
Browse files

Changed registration order for CookedLinux layer 2 type.

Linktype 113 (the "real" CookedLinux) is used by default.
Fixes issue #5081.

--HG--
branch : issue5081
parent 3f7d391f
No related branches found
No related tags found
No related merge requests found
......@@ -420,8 +420,8 @@ conf.l2types.register(ARPHDR_ETHER, Ether)
conf.l2types.register_num2layer(ARPHDR_METRICOM, Ether)
conf.l2types.register_num2layer(ARPHDR_LOOPBACK, Ether)
conf.l2types.register_layer2num(ARPHDR_ETHER, Dot3)
conf.l2types.register(113, CookedLinux)
conf.l2types.register(144, CookedLinux) # called LINUX_IRDA, similar to CookedLinux
conf.l2types.register(113, CookedLinux)
conf.l3types.register(ETH_P_ARP, ARP)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment