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 7763043f..57924812 100644
--- a/zebra/zapi_test.go
+++ b/zebra/zapi_test.go
@@ -114,7 +114,7 @@ func Test_InterfaceAddressUpdateBody(t *testing.T) {
b := &InterfaceAddressUpdateBody{}
err := b.DecodeFromBytes(buf, 2)
assert.Equal(uint32(0), b.Index)
- assert.Equal(uint8(1), b.Flags)
+ assert.Equal(INTERFACE_ADDRESS_FLAG(1), b.Flags)
assert.Equal("192.168.100.1", b.Prefix.String())
assert.Equal(uint8(24), b.Length)
assert.Equal("192.168.100.255", b.Destination.String())