diff options
author | kishiguro <ishi@hash-set.com> | 2016-09-29 03:30:49 -0700 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2016-09-29 16:29:15 -0700 |
commit | 8f4603b25a08046937ede81efbc3062eebf89067 (patch) | |
tree | f22b918bc6ebed7cf8e1d20724971d464e14123d /config/bgp_configs.go | |
parent | 36ea117e745e39030f8b7b9bccef43ae34dc52c3 (diff) |
Add version to zebra-config in gobgp.yang.
Diffstat (limited to 'config/bgp_configs.go')
-rw-r--r-- | config/bgp_configs.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/config/bgp_configs.go b/config/bgp_configs.go index 9ea05258..17ae937d 100644 --- a/config/bgp_configs.go +++ b/config/bgp_configs.go @@ -987,6 +987,9 @@ func (lhs *ZebraState) Equal(rhs *ZebraState) bool { return false } } + if lhs.Version != rhs.Version { + return false + } return true } @@ -1021,6 +1024,9 @@ func (lhs *ZebraConfig) Equal(rhs *ZebraConfig) bool { return false } } + if lhs.Version != rhs.Version { + return false + } return true } |