Dirty IPv6 stub
This commit is contained in:
parent
4a097e99b3
commit
d9f7b85f91
|
@ -104,6 +104,11 @@ class BMProto(AdvancedDispatcher, ObjectTracker):
|
||||||
except AttributeError:
|
except AttributeError:
|
||||||
# unimplemented command
|
# unimplemented command
|
||||||
logger.debug("unimplemented command %s", self.command)
|
logger.debug("unimplemented command %s", self.command)
|
||||||
|
except ValueError as e:
|
||||||
|
# node has ipv6 addr which is not supported by python
|
||||||
|
if e.message == 'unknown address family 10':
|
||||||
|
logger.warning(
|
||||||
|
"command %s from unsupported IPv6 address", self.command)
|
||||||
except BMProtoInsufficientDataError:
|
except BMProtoInsufficientDataError:
|
||||||
logger.debug("packet length too short, skipping")
|
logger.debug("packet length too short, skipping")
|
||||||
except BMProtoExcessiveDataError:
|
except BMProtoExcessiveDataError:
|
||||||
|
|
Reference in New Issue
Block a user