mirror of
https://github.com/juanfont/headscale.git
synced 2025-09-25 17:51:11 +02:00
integration: update expected action
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
This commit is contained in:
parent
1e6bfcab26
commit
518abe5a36
@ -1481,7 +1481,7 @@ func TestSubnetRouteACL(t *testing.T) {
|
|||||||
wantClientFilter := []filter.Match{
|
wantClientFilter := []filter.Match{
|
||||||
{
|
{
|
||||||
IPProto: views.SliceOf([]ipproto.Proto{
|
IPProto: views.SliceOf([]ipproto.Proto{
|
||||||
ipproto.TCP, ipproto.UDP, ipproto.ICMPv4, ipproto.ICMPv6,
|
ipproto.TCP, ipproto.UDP,
|
||||||
}),
|
}),
|
||||||
Srcs: []netip.Prefix{
|
Srcs: []netip.Prefix{
|
||||||
netip.MustParsePrefix("100.64.0.1/32"),
|
netip.MustParsePrefix("100.64.0.1/32"),
|
||||||
@ -1513,7 +1513,7 @@ func TestSubnetRouteACL(t *testing.T) {
|
|||||||
wantSubnetFilter := []filter.Match{
|
wantSubnetFilter := []filter.Match{
|
||||||
{
|
{
|
||||||
IPProto: views.SliceOf([]ipproto.Proto{
|
IPProto: views.SliceOf([]ipproto.Proto{
|
||||||
ipproto.TCP, ipproto.UDP, ipproto.ICMPv4, ipproto.ICMPv6,
|
ipproto.TCP, ipproto.UDP,
|
||||||
}),
|
}),
|
||||||
Srcs: []netip.Prefix{
|
Srcs: []netip.Prefix{
|
||||||
netip.MustParsePrefix("100.64.0.1/32"),
|
netip.MustParsePrefix("100.64.0.1/32"),
|
||||||
@ -1535,7 +1535,7 @@ func TestSubnetRouteACL(t *testing.T) {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
IPProto: views.SliceOf([]ipproto.Proto{
|
IPProto: views.SliceOf([]ipproto.Proto{
|
||||||
ipproto.TCP, ipproto.UDP, ipproto.ICMPv4, ipproto.ICMPv6,
|
ipproto.TCP, ipproto.UDP,
|
||||||
}),
|
}),
|
||||||
Srcs: []netip.Prefix{
|
Srcs: []netip.Prefix{
|
||||||
netip.MustParsePrefix("100.64.0.1/32"),
|
netip.MustParsePrefix("100.64.0.1/32"),
|
||||||
|
Loading…
Reference in New Issue
Block a user