Compare commits
No commits in common. "cb9260ac2b25ae7840b308b5bbe24ebc33906425" and "0b032fccc9a516ef0a52453fdd2aeb61426f6f2d" have entirely different histories.
cb9260ac2b
...
0b032fccc9
|
@ -39,23 +39,6 @@ func TestMatchAuthorizedCIDRs(t *testing.T) {
|
||||||
},
|
},
|
||||||
ExpectedResult: false,
|
ExpectedResult: false,
|
||||||
},
|
},
|
||||||
{
|
|
||||||
RemoteHostPort: "192.168.1.15:43349",
|
|
||||||
AuthorizedCIDRs: []string{
|
|
||||||
"192.168.1.5/32",
|
|
||||||
"192.168.1.0/24",
|
|
||||||
},
|
|
||||||
ExpectedResult: true,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
RemoteHostPort: "192.168.1.15:43349",
|
|
||||||
AuthorizedCIDRs: []string{
|
|
||||||
"192.168.1.5/32",
|
|
||||||
"192.168.1.6/32",
|
|
||||||
"192.168.1.7/32",
|
|
||||||
},
|
|
||||||
ExpectedResult: false,
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
|
|
||||||
auth := Authenticator{}
|
auth := Authenticator{}
|
||||||
|
|
Loading…
Reference in New Issue