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.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.go')
-rw-r--r-- | zebra/zapi.go | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/zebra/zapi.go b/zebra/zapi.go index 42243b21..fb5450b7 100644 --- a/zebra/zapi.go +++ b/zebra/zapi.go @@ -31,12 +31,13 @@ const ( INTERFACE_NAMSIZ = 20 ) +// Internal Interface Status. type INTERFACE_STATUS uint8 const ( - INTERFACE_ACTIVE = 0x01 - INTERFACE_SUB = 0x02 - INTERFACE_LINKDETECTION = 0x04 + INTERFACE_ACTIVE INTERFACE_STATUS = 0x01 + INTERFACE_SUB INTERFACE_STATUS = 0x02 + INTERFACE_LINKDETECTION INTERFACE_STATUS = 0x04 ) type LINK_TYPE uint32 |