1
0
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:
Alex Forencich 2015-02-26 22:36:05 -08:00
parent 10108d5d1a
commit 27f319b91e

View File

@ -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