Commit b64764e8 authored by Vitaly Lipatov's avatar Vitaly Lipatov

router: fix sed delimiter in detect_volatile_domains for names with /

Per-list names like "egw/blocked" contain / which breaks sed s/// delimiter. Co-Authored-By: 's avatarClaude Opus 4.6 <noreply@anthropic.com>
parent f98973c6
...@@ -147,7 +147,7 @@ detect_volatile_domains() ...@@ -147,7 +147,7 @@ detect_volatile_domains()
if [ -s "$volatile_file" ] ; then if [ -s "$volatile_file" ] ; then
vlog "[$name]$label volatile domains (TTL≤${ttl_threshold}s, single A): $(wc -l < "$volatile_file")" vlog "[$name]$label volatile domains (TTL≤${ttl_threshold}s, single A): $(wc -l < "$volatile_file")"
[ -n "$VERBOSE" ] && sed "s/^/ [$name]$label /" "$volatile_file" >&2 || true [ -n "$VERBOSE" ] && sed "s|^| [$name]$label |" "$volatile_file" >&2 || true
fi fi
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment