Commit 7e755db
Resolve bare WGConfig filenames relative to parent config directory. (#204)
A WGConfig value with no path separator is now joined with the directory
of the parent config file, so a wg config sitting next to the wireproxy
config can be referenced by name alone. Values containing a separator
(absolute or relative) keep their existing behavior.
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>1 parent b200992 commit 7e755db
1 file changed
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
540 | 541 | | |
541 | 542 | | |
542 | 543 | | |
543 | | - | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
544 | 552 | | |
545 | 553 | | |
546 | 554 | | |
| |||
0 commit comments