diff options
author | IWASE Yusuke <iwase.yusuke0@gmail.com> | 2017-08-28 16:45:53 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2017-09-06 08:14:14 +0900 |
commit | 2c6bca5485ea3e7a35d13b2f3202b07a089fb9ab (patch) | |
tree | 6f236f93dd26db685bf0729316dd791ff4137481 /zebra/zapi_test.go | |
parent | 06d3e1585e33992bdaf2150171854f3e4fc1ef0c (diff) |
zebra/zapi: Use INTERFACE_STATUS for interface status
Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com>
Diffstat (limited to 'zebra/zapi_test.go')
-rw-r--r-- | zebra/zapi_test.go | 2 |
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 |