Commit 1e3bf4d
Fix arp_responder.py failed to start in many tests
Summary:
Fixes arp_responder.py failed to start due to receiving unknown ethernet type packets
What is the motivation for this PR?
When ARP responder received malformed packet, it cannot handle it and just crashed. This caused a lot of testcase failures.
How did you do it?
Add more logic to check the received packet.
How did you verify/test it?
Run test_acl.py::TestBasicACL and got 100% pass1 parent d15c618 commit 1e3bf4d
1 file changed
Lines changed: 17 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
107 | 119 | | |
108 | 120 | | |
109 | 121 | | |
| |||
0 commit comments