Conversation
1728ea0 to
417791e
Compare
Codecov Report
@@ Coverage Diff @@
## master #1276 +/- ##
==========================================
- Coverage 84.79% 79.25% -5.54%
==========================================
Files 160 159 -1
Lines 38322 37544 -778
==========================================
- Hits 32495 29757 -2738
- Misses 5827 7787 +1960
|
|
Thanks for the PR. Could you provide unit tests? For example: |
417791e to
68f3a7e
Compare
|
It was only examples. Please remove the ';' and add assert before the tests for None. Thanks. |
c4e779d to
07f4f57
Compare
|
Sorry |
2c4c74a to
9e35550
Compare
scapy/sendrecv.py
Outdated
There was a problem hiding this comment.
Your first proposal list was correct, this one isn’t. A packet may be a generator, a list...
9e35550 to
402dd57
Compare
|
Why not?: |
402dd57 to
c57f5db
Compare
|
I think it's safe to call simply
|
|
Now I got a problem. If I do the following: |
|
This means that the fix is incorrect. this line is more complex than it looks, knowing that a packet can generate others depending on its parameters |
It is not quite true. |
|
ok, the problem is probably somewhere inside |
|
unfortunately, I don't know enough internals of scapy, to fix this issue |
|
I will try to help you. |
No description provided.