dns-query: export CNAME_MAX, so that we can use it in other files, too v246.14
authorLennart Poettering <lennart@poettering.net>
Fri, 5 Mar 2021 16:47:45 +0000 (17:47 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 15 May 2021 19:20:58 +0000 (21:20 +0200)
commit37229afc8c8f9bd6c6397537e2b387f89f5365ad
tree49cf9c9bb2e0e22e77dc42e3a1b0d18c8e7bdcf8
parent99573ebca61eb847a49bced5ef3656fa8e8eeaf6
dns-query: export CNAME_MAX, so that we can use it in other files, too

Let's rename it a bit, to be more explanatory while exporting it.

(And let's bump the CNAME limit to 16 — 8 just sounded so little)

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1949670.

(cherry picked from commit e0ae456a554d0fce250f9a009c561b97f20c41f8)
(cherry picked from commit 0e1e59674da060af421aed4f2a6a97b899e20054)
src/resolve/resolved-dns-query.c
src/resolve/resolved-dns-query.h