summaryrefslogtreecommitdiffhomepage
path: root/table
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2018-02-06 11:42:06 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2018-02-06 14:37:17 +0900
commit672546f63d283f5115ac6799da3110d5f4387f84 (patch)
treea7cb62f48ee7ee2472f48305591324e69e08646f /table
parent5dfe0ba86f401774f0742444d47dc58d0f4949a8 (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>
Diffstat (limited to 'table')
-rw-r--r--table/path.go4
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
}