diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/bgp_configs.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/config/bgp_configs.go b/config/bgp_configs.go index d144b47c..2ecaae86 100644 --- a/config/bgp_configs.go +++ b/config/bgp_configs.go @@ -1038,6 +1038,8 @@ type MrtConfig struct { DumpType MrtType `mapstructure:"dump-type"` // original -> gobgp:file-name FileName string `mapstructure:"file-name"` + // original -> gobgp:table-name + TableName string `mapstructure:"table-name"` // original -> gobgp:dump-interval DumpInterval uint64 `mapstructure:"dump-interval"` // original -> gobgp:rotation-interval @@ -1054,6 +1056,9 @@ func (lhs *MrtConfig) Equal(rhs *MrtConfig) bool { if lhs.FileName != rhs.FileName { return false } + if lhs.TableName != rhs.TableName { + return false + } if lhs.DumpInterval != rhs.DumpInterval { return false } |