diff options
Diffstat (limited to 'modules/caddytls')
-rw-r--r-- | modules/caddytls/matchers.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/caddytls/matchers.go b/modules/caddytls/matchers.go index aee0e72..d41492f 100644 --- a/modules/caddytls/matchers.go +++ b/modules/caddytls/matchers.go @@ -86,14 +86,14 @@ func (m *MatchRemoteIP) Provision(ctx caddy.Context) error { if err != nil { return err } - m.cidrs = cidrs + m.cidrs = append(m.cidrs, cidrs...) } for _, str := range m.NotRanges { cidrs, err := m.parseIPRange(str) if err != nil { return err } - m.notCidrs = cidrs + m.notCidrs = append(m.notCidrs, cidrs...) } return nil } |