summaryrefslogtreecommitdiff
path: root/src/libsystemd-network/dhcp6-network.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-08-27 17:48:24 +0200
committerLennart Poettering <lennart@poettering.net>2015-08-27 17:48:24 +0200
commit52efd56a6369e19c2400a42981a197cd2eef924a (patch)
treef357473b0d192fb4cbe2d4ab1d558801bd740abc /src/libsystemd-network/dhcp6-network.c
parent2f5b4a774a656d1da1daed604d3f4c15417c1897 (diff)
tree-wide: we place the opening bracket on the same line as the function name
Let's do this everywhere the same way.
Diffstat (limited to 'src/libsystemd-network/dhcp6-network.c')
-rw-r--r--src/libsystemd-network/dhcp6-network.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/libsystemd-network/dhcp6-network.c b/src/libsystemd-network/dhcp6-network.c
index fe56c10273..187975364b 100644
--- a/src/libsystemd-network/dhcp6-network.c
+++ b/src/libsystemd-network/dhcp6-network.c
@@ -41,8 +41,7 @@
{ { { 0xff, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01 } } }
-int dhcp_network_icmp6_bind_router_solicitation(int index)
-{
+int dhcp_network_icmp6_bind_router_solicitation(int index) {
struct icmp6_filter filter = { };
struct ipv6_mreq mreq = {
.ipv6mr_multiaddr = IN6ADDR_ALL_NODES_MULTICAST_INIT,
@@ -92,8 +91,7 @@ int dhcp_network_icmp6_bind_router_solicitation(int index)
return r;
}
-int dhcp_network_icmp6_send_router_solicitation(int s, const struct ether_addr *ether_addr)
-{
+int dhcp_network_icmp6_send_router_solicitation(int s, const struct ether_addr *ether_addr) {
struct sockaddr_in6 dst = {
.sin6_family = AF_INET6,
.sin6_addr = IN6ADDR_ALL_ROUTERS_MULTICAST_INIT,