commit | eddea776f0dd938977106695f9e3eecb4afb74d7 | [log] [tgz] |
---|---|---|
author | Ed Swierk <eswierk@bigswitch.com> | Sat Mar 31 18:34:32 2012 -0700 |
committer | Ed Swierk <eswierk@bigswitch.com> | Mon Apr 02 08:00:46 2012 -0700 |
tree | 50381f905fff438e39bdfda52e3d953eaf2a23b0 | |
parent | 89f7835f53adf198f24439fcf626d016e5fc2dad [diff] |
Just print a warning when reading from the controller returns 0 bytes
diff --git a/src/python/oftest/controller.py b/src/python/oftest/controller.py index 786572d..debff35 100644 --- a/src/python/oftest/controller.py +++ b/src/python/oftest/controller.py
@@ -287,8 +287,7 @@ return False if len(pkt) == 0: - self.logger.info("zero-len pkt in") - return True + self.logger.warning("Zero-length switch read") self._pkt_handle(pkt) else: