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:
commit
bb3443d4f6
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user