mirror of
https://github.com/corundum/corundum.git
synced 2025-01-30 08:32:52 +08:00
Fix UDP EP parse_eth
This commit is contained in:
parent
10108d5d1a
commit
27f319b91e
@ -239,7 +239,7 @@ class UDPFrame(object):
|
|||||||
def parse_eth(self, data):
|
def parse_eth(self, data):
|
||||||
frame = ip_ep.IPFrame()
|
frame = ip_ep.IPFrame()
|
||||||
frame.parse_eth(data)
|
frame.parse_eth(data)
|
||||||
self.parse_ip(data)
|
self.parse_ip(frame)
|
||||||
|
|
||||||
def parse_ip(self, data):
|
def parse_ip(self, data):
|
||||||
self.eth_src_mac = data.eth_src_mac
|
self.eth_src_mac = data.eth_src_mac
|
||||||
|
Loading…
x
Reference in New Issue
Block a user