mirror of
https://github.com/juanfont/headscale.git
synced 2025-08-15 14:38:09 +00:00
Compare commits
1 Commits
add-test-s
...
v0.17.1
Author | SHA1 | Date | |
---|---|---|---|
![]() |
422d124c7e |
7
acls.go
7
acls.go
@@ -386,12 +386,7 @@ func generateACLPolicyDest(
|
||||
func parseProtocol(protocol string) ([]int, bool, error) {
|
||||
switch protocol {
|
||||
case "":
|
||||
return []int{
|
||||
protocolICMP,
|
||||
protocolIPv6ICMP,
|
||||
protocolTCP,
|
||||
protocolUDP,
|
||||
}, false, nil
|
||||
return nil, false, nil
|
||||
case "igmp":
|
||||
return []int{protocolIGMP}, true, nil
|
||||
case "ipv4", "ip-in-ip":
|
||||
|
Reference in New Issue
Block a user