Development
This commit is contained in:
parent
2bfa5ff29a
commit
8766c6c9a2
4 changed files with 88 additions and 56 deletions
|
|
@ -103,8 +103,8 @@ from pathlib import Path
|
|||
from validation import (
|
||||
VALID_PROTOCOLS, VALID_BLOCKLIST_FORMATS,
|
||||
int_range, domainname,
|
||||
inject_interfaces, is_wg, is_dynamic_ip,
|
||||
validate_config,
|
||||
is_wg, is_dynamic_ip,
|
||||
resolve_vlan_derived_fields, validate_config,
|
||||
)
|
||||
|
||||
SCRIPT_DIR = Path(__file__).parent
|
||||
|
|
@ -3079,7 +3079,7 @@ def cmd_apply(data, dry_run=False):
|
|||
dnsmasq confs, start/restart all services whose interface is up, nftables,
|
||||
timer, and boot service. Safe to run repeatedly.
|
||||
"""
|
||||
inject_interfaces(data)
|
||||
data = resolve_vlan_derived_fields(data)
|
||||
if dry_run:
|
||||
print("[DRY RUN] --apply would perform the following actions:")
|
||||
print()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue