1
0
mirror of https://github.com/systemd/systemd.git synced 2024-10-31 16:21:26 +03:00

Merge pull request #18604 from poettering/resolved-minor-tweaks

two minor resolved tweaks
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2021-02-15 21:18:34 +01:00 committed by GitHub
commit bb3443d4f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 4 deletions

View File

@ -82,7 +82,7 @@ struct DnsPacket {
bool canonical_form:1;
};
static inline uint8_t* DNS_PACKET_DATA(DnsPacket *p) {
static inline uint8_t* DNS_PACKET_DATA(const DnsPacket *p) {
if (_unlikely_(!p))
return NULL;

View File

@ -97,13 +97,12 @@ struct Manager {
/* mDNS */
int mdns_ipv4_fd;
int mdns_ipv6_fd;
sd_event_source *mdns_ipv4_event_source;
sd_event_source *mdns_ipv6_event_source;
/* DNS-SD */
Hashmap *dnssd_services;
sd_event_source *mdns_ipv4_event_source;
sd_event_source *mdns_ipv6_event_source;
/* dbus */
sd_bus *bus;