I can't get ethernet packets with VLAN to parse and i think the issue is a misuse of 'get_valauto' instead of 'set_valauto' in the __init__ func.
It makes no sense to call the "get" func where usually "set" functions are used so i assumed it's typo.
Currently the bug is at:
pycrate_ether/Ethernet.py
-> VLAN class (line 109)
--> __init__ function
---> self[3].get_valauto(self._set_type_val) (line 118)
See for example the Ethernet class a few lines above which use 'set_valauto' for an idantical field (ether type).
I can't get ethernet packets with VLAN to parse and i think the issue is a misuse of 'get_valauto' instead of 'set_valauto' in the
__init__
func.It makes no sense to call the "get" func where usually "set" functions are used so i assumed it's typo.
Currently the bug is at:
pycrate_ether/Ethernet.py
-> VLAN class (line 109)
-->
__init__
function--->
self[3].get_valauto(self._set_type_val)
(line 118)See for example the Ethernet class a few lines above which use 'set_valauto' for an idantical field (ether type).