forked from osmocom/wireshark
asn2wrs: Fix Type eth_type_default_body() arguments
Add tname as argument to Type eth_type_default_body() to fix a warning. Call to method Type.eth_type_default_body with too many arguments; should be no more than 1.
This commit is contained in:
parent
5f50fad289
commit
ebb2df7a06
|
@ -3375,8 +3375,8 @@ class Type (Node):
|
|||
def eth_type_default_table(self, ectx, tname):
|
||||
return ''
|
||||
|
||||
def eth_type_default_body(self, ectx):
|
||||
print("#Unhandled eth_type_default_body() in %s" % (self.type))
|
||||
def eth_type_default_body(self, ectx, tname):
|
||||
print("#Unhandled eth_type_default_body('%s') in %s" % (tname, self.type))
|
||||
print(self.str_depth(1))
|
||||
return ''
|
||||
|
||||
|
|
Loading…
Reference in New Issue