diff options
author | IWASE Yusuke <iwase.yusuke0@gmail.com> | 2017-03-22 14:03:41 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2017-03-27 14:43:54 +0900 |
commit | f6648758080cbe139a4345a384243ede52bec6bf (patch) | |
tree | 9c3f046f48cf4f98a7841dc3c3f59d4186d6392d /server/sockopt_linux.go | |
parent | 61240f45b0e2d09e251dbd4176a151964e98f696 (diff) |
server/zclient: Retry Zebra message version negotiation
Currently, the Zebra message version used by ZClient is configurable
(default 2), but if the given version is miss-matched with that of
Zebra daemon, ZCient will fail to connect.
This patch fixes ZClient to retry the version negotiation.
For example, if failed with the version 2, retry with the version 3.
Note: In order to receive the first message from Zebra daemon when
instantiating ZClient, this patch fixes ZClient to send HELLO and
ROUTER_ID_ADD messages automatically.
Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com>
Diffstat (limited to 'server/sockopt_linux.go')
0 files changed, 0 insertions, 0 deletions