summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorstein Husebø <torstein@huseboe.net>2014-12-10 20:00:04 +0100
committerDavid Herrmann <dh.herrmann@gmail.com>2014-12-11 15:04:43 +0100
commitd076c6f9e486587d634d59082d2a13b9cbb4aef3 (patch)
tree3b8e8b642de4b87a58d8c03f50bb5ef22cf5974c
parent1ed09c449185941fe145b66a0ea7be7df6a07058 (diff)
networkd/resolved: correct spacing near eol in code comments
-rw-r--r--src/network/networkd-address.c2
-rw-r--r--src/network/networkd-netdev.c2
-rw-r--r--src/resolve/resolved-dns-scope.c2
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;