diff --git a/bird/config.go b/bird/config.go index bd4479e..61c1572 100644 --- a/bird/config.go +++ b/bird/config.go @@ -24,3 +24,9 @@ type RateLimitConfig struct { Max int `toml:"requests_per_minute"` Enabled bool } + +type PerPeerTablesConfig struct { + Enabled bool `toml:"enabled"` + PeerProtocolPrefix string `toml:"peer_protocol_prefix"` + PipeProtocolPrefix string `tomo:"pipe_protocol_prefix"` +} diff --git a/config.go b/config.go index 8a5c394..69b7f4e 100644 --- a/config.go +++ b/config.go @@ -17,11 +17,12 @@ import ( type Config struct { Server endpoints.ServerConfig - Ratelimit bird.RateLimitConfig - Status bird.StatusConfig - Bird bird.BirdConfig - Bird6 bird.BirdConfig - Parser bird.ParserConfig + Ratelimit bird.RateLimitConfig + Status bird.StatusConfig + Bird bird.BirdConfig + Bird6 bird.BirdConfig + Parser bird.ParserConfig + PerPeerTables bird.PerPeerTablesConfig } // Try to load configfiles as specified in the files