ironic-python-agent/releasenotes/notes/lldp-error-handling-5b6576b378ef9c3a.yaml
Dmitry Tantsur b864a8c566 Fix several errors in LLDP handling code
* Stop silencing exceptions in raw socket context manager
* Correctly handle receiving packages with odd size and too small ones
* Fix a unit test that was testing nothing due to bad mocking

Change-Id: Ic8626d10618f52d50667d2698f34a92f5dcac33e
Closes-Bug: #1640238
2016-11-09 15:02:54 +01:00

7 lines
263 B
YAML

---
fixes:
- Fix LLDP discovery to not fail completely when odd number of bytes is
received in an LLDP package.
- Fix raw sockets code to properly propagate exceptions to a caller instead
of silencing them and returning None (causing failures later).