summaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2016-05-11 16:00:54 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2016-05-11 16:19:57 +0900
commit292a61b9cc0e8cd0732f43f71661ac6ae0f441cd (patch)
treed5220fa5c8d30fb40d5d700a8bab857c59332664 /tools
parentaa12e4c7ce9565727dd1c8977d38e4d31a71f408 (diff)
server: print correct reason of state change by configuration change
Changing some of configuration leads to sending a notification. So the reason of the BGP state change should be the notification. The main goroutine sends a notification, closes the connection, kill goroutines for the peer. So With the current code, the reason could be "rx failure", "tx failure", or "dying". To avoid that, this patch adds kinda workaround. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions