Fix TestWhitelistAllowing

This commit is contained in:
Sergey Frolov 2021-02-28 16:16:35 -07:00
parent 75511e6fbe
commit 2a9402b786

View file

@ -262,7 +262,7 @@ func TestMain(m *testing.M) {
tls: true,
proxyHandler: &Handler{
ACL: []ACLRule{
{Subjects: []string{"127.0.0.1"}, Allow: true},
{Subjects: []string{"127.0.64.51"}, Allow: true},
{Subjects: []string{"all"}, Allow: false},
},
AllowedPorts: []int{6451},