def reset(self): """ Reset sniffer. """ pkt = ResetCommand() self.write(pkt) self.wait_packet(ResetResponse)
def reset(self): """ Reset sniffer. """ pkt = ResetCommand() self.set_timeout(0.2) self.flush() self.write(pkt) self.wait_packet(ResetResponse)