summaryrefslogtreecommitdiffhomepage
path: root/server/zclient.go
diff options
context:
space:
mode:
authorIWASE Yusuke <iwase.yusuke0@gmail.com>2017-08-28 13:41:08 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2017-09-06 08:14:14 +0900
commit06d3e1585e33992bdaf2150171854f3e4fc1ef0c (patch)
treeb99f3a8ba806d1b39a2ee2965bafd6847aca9cc9 /server/zclient.go
parent208e3d5e87be225b464122da82023e99430067a5 (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.go2
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 {