mirror of
https://github.com/Control-D-Inc/ctrld.git
synced 2026-05-27 12:52:27 +02:00
all: add MAC address base policy
While at it, also update the config doc to clarify the order of matching preference, and the matter of rules order within each policy.
This commit is contained in:
committed by
Cuong Manh Le
parent
f1b8d1c4ad
commit
2440d922c6
@@ -82,4 +82,8 @@ rules = [
|
||||
{"*.ru" = ["upstream.1"]},
|
||||
{"*.local.host" = ["upstream.2", "upstream.0"]},
|
||||
]
|
||||
macs = [
|
||||
{"14:45:A0:67:83:0A" = ["upstream.2"]},
|
||||
{"14:54:4a:8e:08:2d" = ["upstream.2"]},
|
||||
]
|
||||
`
|
||||
|
||||
Reference in New Issue
Block a user