Describe the bug
Ping sweep functionality is disabled unless ping is called with size=None or size=0
To Reproduce
Steps to reproduce the behavior:
- Call ping without size=None - ret = ping(ip,sweep_start=10 ,sweep_end=109,timeout=2,match=True)
- Use wireshark or equivalent and look at the icmp messages being sent
- Observe that payload is all the same size, equivalent to ping being called with size=1
- Call ping with size=None - ret = ping(ip,size=None,sweep_start=10 sweep_end=109,timeout=2,match=True)
- Use wireshark or equivalent and look at the icmp messages being sent
- Observe that payload size is now changing from one icmp request to the next
Expected behavior
It wasn't clear from the documentation that in order to use sweep functionality that ping must be called with size explicitly set to None or 0. Please update the documentation to make this clear.
Describe the bug
Ping sweep functionality is disabled unless ping is called with size=None or size=0
To Reproduce
Steps to reproduce the behavior:
Expected behavior
It wasn't clear from the documentation that in order to use sweep functionality that ping must be called with size explicitly set to None or 0. Please update the documentation to make this clear.