mirror of
https://github.com/systemd/systemd.git
synced 2025-03-08 08:58:27 +03:00
networkd/resolved: correct spacing near eol in code comments
This commit is contained in:
parent
1ed09c4491
commit
d076c6f9e4
@ -227,7 +227,7 @@ static int address_acquire(Link *link, Address *original, Address **ret) {
|
||||
}
|
||||
|
||||
if (original->family == AF_INET) {
|
||||
/* Pick first address in range for ourselves ...*/
|
||||
/* Pick first address in range for ourselves ... */
|
||||
in_addr.in.s_addr = in_addr.in.s_addr | htobe32(1);
|
||||
|
||||
/* .. and use last as broadcast address */
|
||||
|
@ -275,7 +275,7 @@ int netdev_enslave(NetDev *netdev, Link *link, sd_rtnl_message_handler_t callbac
|
||||
if (r < 0)
|
||||
return r;
|
||||
} else {
|
||||
/* the netdev is not yet read, save this request for when it is*/
|
||||
/* the netdev is not yet read, save this request for when it is */
|
||||
netdev_join_callback *cb;
|
||||
|
||||
cb = new0(netdev_join_callback, 1);
|
||||
|
@ -529,7 +529,7 @@ void dns_scope_process_query(DnsScope *s, DnsStream *stream, DnsPacket *p) {
|
||||
if (p->ipproto == IPPROTO_UDP) {
|
||||
/* Don't accept UDP queries directed to anything but
|
||||
* the LLMNR multicast addresses. See RFC 4795,
|
||||
* section 2.5.*/
|
||||
* section 2.5. */
|
||||
|
||||
if (p->family == AF_INET && !in_addr_equal(AF_INET, &p->destination, (union in_addr_union*) &LLMNR_MULTICAST_IPV4_ADDRESS))
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user