diff options
| author | 2020-02-16 11:28:28 +0000 | |
|---|---|---|
| committer | 2020-02-16 11:28:28 +0000 | |
| commit | 521965d7276a55d855f498ed63519ccc32edf828 (patch) | |
| tree | 0902d1359442b96bf042771f504d7779d69554ea /usr.bin/dig/lib/isc/timer.c | |
| parent | sync (diff) | |
| download | wireguard-openbsd-521965d7276a55d855f498ed63519ccc32edf828.tar.xz wireguard-openbsd-521965d7276a55d855f498ed63519ccc32edf828.zip | |
Quote variables in pf tag strings
Macros are expanded by the parser at parse time, whereas variables are
read as ordinary strings and left unmodified; hence, quoted `"$domain"'
gets passed to the daemon as is, which substitutes proper values before
passing it to the kernel. `$domain' without quotes never makes it to
the daemon, that is with `domain = foo' somewhere else "foo" is being
eventually passed unmodified to the kernel.
jmc prompted for a proper explanation and provided the final wording.
OK tobhe jmc
Diffstat (limited to 'usr.bin/dig/lib/isc/timer.c')
0 files changed, 0 insertions, 0 deletions
