Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Reverse broadcast order #327

Merged
merged 1 commit into from
Feb 10, 2017
Merged

Reverse broadcast order #327

merged 1 commit into from
Feb 10, 2017

Conversation

johanbergs
Copy link
Contributor

When the broadcast() method is called from within a ListenEtherSwitch, dumping the packet to the “listen” port last may cause inconsistencies when attaching this port to a ToDump. Because of the packet processing order, this causes e.g. the first ARP reply to appear in the dump file before the ARP request. Broadcasting the packet to the listen port first fixes this issue.

When the broadcast() method is called from within a ListenEtherSwitch,
dumping the packet to the “listen” port last may cause inconsistencies
when e.g. attaching this port to a ToDump.  Because of the packet
processing, this causes e.g. the first ARP reply to appear in the dump
file before the ARP request. Dumping the packet to the listen port
first fixes this issue.
@kohler
Copy link
Owner

kohler commented Feb 10, 2017

Nice and clear, thanks for the patch!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants