[systemd-devel] [PATCH 1/6] networkd/resolved: correct spacing near eol in code comments
Torstein Husebø
torstein at huseboe.net
Wed Dec 10 11:00:04 PST 2014
---
src/network/networkd-address.c | 2 +-
src/network/networkd-netdev.c | 2 +-
src/resolve/resolved-dns-scope.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/network/networkd-address.c b/src/network/networkd-address.c
index a85e8fa21e..a32e87040a 100644
--- a/src/network/networkd-address.c
+++ b/src/network/networkd-address.c
@@ -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 */
diff --git a/src/network/networkd-netdev.c b/src/network/networkd-netdev.c
index b75eab9cd8..974547dcda 100644
--- a/src/network/networkd-netdev.c
+++ b/src/network/networkd-netdev.c
@@ -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);
diff --git a/src/resolve/resolved-dns-scope.c b/src/resolve/resolved-dns-scope.c
index a43359f8c5..abdb2e0732 100644
--- a/src/resolve/resolved-dns-scope.c
+++ b/src/resolve/resolved-dns-scope.c
@@ -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;
--
2.2.0
More information about the systemd-devel
mailing list