diff options
author | Lennart Poettering <lennart@poettering.net> | 2019-01-21 17:57:43 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2019-02-15 17:13:58 +0100 |
commit | 652ba568c6624bf40d735645f029d83d21bdeaa6 (patch) | |
tree | 36bf296650a0180f47d7b5502e86e15d70f61654 /src/resolve/resolved-manager.h | |
parent | 57bdb749b83e26f7b972d510c2fa09d23bc3617c (diff) | |
download | systemd-652ba568c6624bf40d735645f029d83d21bdeaa6.tar.gz |
stream: track type of DnsStream object
We use stream objects in four different cases: let's track them.
This in particular allows us to make sure the limit on outgoing streams
cannot be exhausted by having incoming streams as this means we can
neatly separate the counters for all four types.
Diffstat (limited to 'src/resolve/resolved-manager.h')
-rw-r--r-- | src/resolve/resolved-manager.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resolve/resolved-manager.h b/src/resolve/resolved-manager.h index 06c76f6014..72171f8c97 100644 --- a/src/resolve/resolved-manager.h +++ b/src/resolve/resolved-manager.h @@ -54,7 +54,7 @@ struct Manager { unsigned n_dns_queries; LIST_HEAD(DnsStream, dns_streams); - unsigned n_dns_streams; + unsigned n_dns_streams[_DNS_STREAM_TYPE_MAX]; /* Unicast dns */ LIST_HEAD(DnsServer, dns_servers); |