cmd/cli: ensure extra split rule is always written

Otherwise, the rule may not be added if ctrld does not run in cd mode.
This commit is contained in:
Cuong Manh Le
2024-11-11 18:47:14 +07:00
committed by Cuong Manh Le
parent c654398981
commit da91aabc35
4 changed files with 11 additions and 6 deletions
+1 -1
View File
@@ -7,4 +7,4 @@ import (
)
// addExtraSplitDnsRule adds split DNS rule if present.
func addExtraSplitDnsRule(_ *ctrld.Config) {}
func addExtraSplitDnsRule(_ *ctrld.Config) bool { return false }