summaryrefslogtreecommitdiffhomepage
path: root/server
diff options
context:
space:
mode:
authorkishiguro <ishi@hash-set.com>2016-09-28 12:30:35 -0700
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2016-09-29 16:29:15 -0700
commit36ea117e745e39030f8b7b9bccef43ae34dc52c3 (patch)
tree5b3f6d1a3d5ccedff7693d3457be151435777aaa /server
parent554f309c9020fa580b7ae74766b069a7ae095444 (diff)
Apply previous change's to test as well.
Diffstat (limited to 'server')
-rw-r--r--server/zclient_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/zclient_test.go b/server/zclient_test.go
index f4391b09..7338adcb 100644
--- a/server/zclient_test.go
+++ b/server/zclient_test.go
@@ -29,9 +29,9 @@ func Test_createRequestFromIPRouteMessage(t *testing.T) {
m := &zebra.Message{}
h := &zebra.Header{
- Len: zebra.HEADER_SIZE,
+ Len: zebra.HeaderSize(2),
Marker: zebra.HEADER_MARKER,
- Version: zebra.VERSION,
+ Version: 2,
Command: zebra.IPV4_ROUTE_ADD,
}