diff options
author | IWASE Yusuke <iwase.yusuke0@gmail.com> | 2017-08-28 13:41:08 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2017-09-06 08:14:14 +0900 |
commit | 06d3e1585e33992bdaf2150171854f3e4fc1ef0c (patch) | |
tree | b99f3a8ba806d1b39a2ee2965bafd6847aca9cc9 /server/zclient.go | |
parent | 208e3d5e87be225b464122da82023e99430067a5 (diff) |
zebra/zapi: Define type for Zebra API message flags
Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com>
Diffstat (limited to 'server/zclient.go')
-rw-r--r-- | server/zclient.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/zclient.go b/server/zclient.go index 6a1231a4..06f1db5c 100644 --- a/server/zclient.go +++ b/server/zclient.go @@ -242,7 +242,7 @@ func newIPRouteMessage(dst pathList, version uint8, vrfId uint16) *zebra.Message default: return nil } - msgFlags := uint8(zebra.MESSAGE_NEXTHOP) + msgFlags := zebra.MESSAGE_NEXTHOP plen, _ := strconv.Atoi(l[1]) med, err := path.GetMed() if err == nil { |