mirror of
				https://github.com/juanfont/headscale.git
				synced 2025-10-31 04:57:45 +09:00 
			
		
		
		
	cleanup linter warnings (#2206)
	
		
			
	
		
	
	
		
	
		
			Some checks failed
		
		
	
	
		
			
				
	
				Build / build (push) Has been cancelled
				
			
		
			
				
	
				Build documentation / build (push) Has been cancelled
				
			
		
			
				
	
				Tests / test (push) Has been cancelled
				
			
		
			
				
	
				Build documentation / deploy (push) Has been cancelled
				
			
		
			
				
	
				update-flake-lock / lockfile (push) Has been cancelled
				
			
		
			
				
	
				GitHub Actions Version Updater / build (push) Has been cancelled
				
			
		
		
	
	
				
					
				
			
		
			Some checks failed
		
		
	
	Build / build (push) Has been cancelled
				
			Build documentation / build (push) Has been cancelled
				
			Tests / test (push) Has been cancelled
				
			Build documentation / deploy (push) Has been cancelled
				
			update-flake-lock / lockfile (push) Has been cancelled
				
			GitHub Actions Version Updater / build (push) Has been cancelled
				
			Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
This commit is contained in:
		| @@ -22,6 +22,8 @@ import ( | ||||
| 	"tailscale.com/wgengine/filter" | ||||
| ) | ||||
|  | ||||
| var allPorts = filter.PortRange{First: 0, Last: 0xffff} | ||||
|  | ||||
| // This test is both testing the routes command and the propagation of | ||||
| // routes. | ||||
| func TestEnablingRoutes(t *testing.T) { | ||||
| @@ -1249,11 +1251,11 @@ func TestSubnetRouteACL(t *testing.T) { | ||||
| 			Dsts: []filter.NetPortRange{ | ||||
| 				{ | ||||
| 					Net:   netip.MustParsePrefix("100.64.0.2/32"), | ||||
| 					Ports: filter.PortRange{0, 0xffff}, | ||||
| 					Ports: allPorts, | ||||
| 				}, | ||||
| 				{ | ||||
| 					Net:   netip.MustParsePrefix("fd7a:115c:a1e0::2/128"), | ||||
| 					Ports: filter.PortRange{0, 0xffff}, | ||||
| 					Ports: allPorts, | ||||
| 				}, | ||||
| 			}, | ||||
| 			Caps: []filter.CapMatch{}, | ||||
| @@ -1281,11 +1283,11 @@ func TestSubnetRouteACL(t *testing.T) { | ||||
| 			Dsts: []filter.NetPortRange{ | ||||
| 				{ | ||||
| 					Net:   netip.MustParsePrefix("100.64.0.1/32"), | ||||
| 					Ports: filter.PortRange{0, 0xffff}, | ||||
| 					Ports: allPorts, | ||||
| 				}, | ||||
| 				{ | ||||
| 					Net:   netip.MustParsePrefix("fd7a:115c:a1e0::1/128"), | ||||
| 					Ports: filter.PortRange{0, 0xffff}, | ||||
| 					Ports: allPorts, | ||||
| 				}, | ||||
| 			}, | ||||
| 			Caps: []filter.CapMatch{}, | ||||
| @@ -1303,7 +1305,7 @@ func TestSubnetRouteACL(t *testing.T) { | ||||
| 			Dsts: []filter.NetPortRange{ | ||||
| 				{ | ||||
| 					Net:   netip.MustParsePrefix("10.33.0.0/16"), | ||||
| 					Ports: filter.PortRange{0, 0xffff}, | ||||
| 					Ports: allPorts, | ||||
| 				}, | ||||
| 			}, | ||||
| 			Caps: []filter.CapMatch{}, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user