summaryrefslogtreecommitdiffhomepage
path: root/zebra/zapi_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'zebra/zapi_test.go')
-rw-r--r--zebra/zapi_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/zapi_test.go b/zebra/zapi_test.go
index 59d15ac3..7763043f 100644
--- a/zebra/zapi_test.go
+++ b/zebra/zapi_test.go
@@ -63,7 +63,7 @@ func Test_InterfaceUpdateBody(t *testing.T) {
pos := INTERFACE_NAMSIZ
binary.BigEndian.PutUint32(buf[pos:], 1)
pos += 4
- buf[pos] = INTERFACE_ACTIVE
+ buf[pos] = byte(INTERFACE_ACTIVE)
pos += 1
binary.BigEndian.PutUint64(buf[pos:], 1)
pos += 8 // flags