summaryrefslogtreecommitdiffhomepage
path: root/config/bgp_configs.go
diff options
context:
space:
mode:
Diffstat (limited to 'config/bgp_configs.go')
-rw-r--r--config/bgp_configs.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/bgp_configs.go b/config/bgp_configs.go
index 7125db4c..9ea05258 100644
--- a/config/bgp_configs.go
+++ b/config/bgp_configs.go
@@ -965,6 +965,8 @@ type ZebraState struct {
Url string `mapstructure:"url"`
// original -> gobgp:redistribute-route-type
RedistributeRouteTypeList []InstallProtocolType `mapstructure:"redistribute-route-type-list"`
+ // original -> gobgp:version
+ Version uint8 `mapstructure:"version"`
}
func (lhs *ZebraState) Equal(rhs *ZebraState) bool {
@@ -997,6 +999,8 @@ type ZebraConfig struct {
Url string `mapstructure:"url"`
// original -> gobgp:redistribute-route-type
RedistributeRouteTypeList []InstallProtocolType `mapstructure:"redistribute-route-type-list"`
+ // original -> gobgp:version
+ Version uint8 `mapstructure:"version"`
}
func (lhs *ZebraConfig) Equal(rhs *ZebraConfig) bool {