b65d6dc315
BGP session can be closed by sending inappropriate messages. So touching socket by get_peername() after sending messages may cause an exception. Though we can handle this by try..exception, I fixed to simply call get_peername() before sending messages because session disconnection by sending messages is an ordinary procedure and not an exception(the peer will send notification before disconnection). Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> |
||
---|---|---|
.. | ||
app | ||
base | ||
cmd | ||
contrib | ||
controller | ||
lib | ||
ofproto | ||
services | ||
tests | ||
topology | ||
__init__.py | ||
cfg.py | ||
exception.py | ||
flags.py | ||
hooks.py | ||
log.py | ||
utils.py |