diff options
Diffstat (limited to 'config')
-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 45515d00..4df1503d 100644 --- a/config/bgp_configs.go +++ b/config/bgp_configs.go @@ -1171,6 +1171,9 @@ type BmpServerConfig struct { RouteMonitoringPolicy BmpRouteMonitoringPolicyType `mapstructure:"route-monitoring-policy" json:"route-monitoring-policy,omitempty"` // original -> gobgp:statistics-timeout StatisticsTimeout uint16 `mapstructure:"statistics-timeout" json:"statistics-timeout,omitempty"` + // original -> gobgp:route-mirroring-enabled + //gobgp:route-mirroring-enabled's original type is boolean + RouteMirroringEnabled bool `mapstructure:"route-mirroring-enabled" json:"route-mirroring-enabled,omitempty"` } func (lhs *BmpServerConfig) Equal(rhs *BmpServerConfig) bool { @@ -1189,6 +1192,9 @@ func (lhs *BmpServerConfig) Equal(rhs *BmpServerConfig) bool { if lhs.StatisticsTimeout != rhs.StatisticsTimeout { return false } + if lhs.RouteMirroringEnabled != rhs.RouteMirroringEnabled { + return false + } return true } |