mirror of
https://github.com/juanfont/headscale.git
synced 2026-07-08 00:50:20 +09:00
Fix invalid ip syntax
The "ip" field needs to be a list.
This commit is contained in:
committed by
nblock
parent
33a65052c9
commit
a066a06bef
+3
-3
@@ -158,17 +158,17 @@ devices. Can only be used in policy destinations.
|
|||||||
{
|
{
|
||||||
"src": ["boss@"],
|
"src": ["boss@"],
|
||||||
"dst": ["boss@"],
|
"dst": ["boss@"],
|
||||||
"ip": "*"
|
"ip": ["*"]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"src": ["dev1@"],
|
"src": ["dev1@"],
|
||||||
"dst": ["dev1@"],
|
"dst": ["dev1@"],
|
||||||
"ip": "*"
|
"ip": ["*"]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"src": ["intern1@"],
|
"src": ["intern1@"],
|
||||||
"dst": ["intern1@"],
|
"dst": ["intern1@"],
|
||||||
"ip": "*"
|
"ip": ["*"]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user