diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2018-02-06 11:42:06 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2018-02-06 14:37:17 +0900 |
commit | 672546f63d283f5115ac6799da3110d5f4387f84 (patch) | |
tree | a7cb62f48ee7ee2472f48305591324e69e08646f | |
parent | 5dfe0ba86f401774f0742444d47dc58d0f4949a8 (diff) |
table: change originInfo struct layout to reduce the size
shrinks from 112 to 96 bytes.
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r-- | table/path.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/table/path.go b/table/path.go index 35fb1b58..d5dbf7f5 100644 --- a/table/path.go +++ b/table/path.go @@ -93,11 +93,11 @@ type originInfo struct { nlri bgp.AddrPrefixInterface source *PeerInfo timestamp time.Time - noImplicitWithdraw bool validation *Validation - isFromExternal bool key string uuid uuid.UUID + noImplicitWithdraw bool + isFromExternal bool eor bool stale bool } |