Use SO_REUSEADDR before calling bind() where missing. Fixes #1289.

This commit is contained in:
grossmj
2018-04-16 16:36:36 +08:00
parent 5c4f6dd3dc
commit dd9c18b9f8
4 changed files with 4 additions and 1 deletions

View File

@ -514,7 +514,7 @@ class BaseNode:
try:
yield from self._ubridge_hypervisor.send(command)
except UbridgeError as e:
raise UbridgeError("{}: {}".format(e, self._ubridge_hypervisor.read_stdout()))
raise UbridgeError("Error while sending command '{}': {}: {}".format(command, e, self._ubridge_hypervisor.read_stdout()))
@locked_coroutine
def _start_ubridge(self):