diff options
| author | whitespace / reindent <invalid@invalid.invalid> | 2017-07-17 15:26:02 -0400 |
|---|---|---|
| committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2017-07-17 15:26:02 -0400 |
| commit | c14777c6bfd0a446c85243d3a9835054a259c276 (patch) | |
| tree | 2021f7d89a6046f81ff1f44d256ecff28282568f /lib/sockopt.c | |
| parent | f0735da293f2aef7e09cb67c5564d69d7260db9a (diff) | |
*: reindent pt. 2
w/ clang 5
* reflow comments
* struct members go 1 per line
* binpack algo was adjusted
Diffstat (limited to 'lib/sockopt.c')
| -rw-r--r-- | lib/sockopt.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/sockopt.c b/lib/sockopt.c index d100991a33..a1bde13a9c 100644 --- a/lib/sockopt.c +++ b/lib/sockopt.c @@ -261,8 +261,9 @@ int setsockopt_ipv4_multicast(int sock, int optname, struct in_addr if_addr, zlog_info( "setsockopt_ipv4_multicast attempting to drop and " "re-add (fd %d, mcast %s, ifindex %u)", - sock, inet_ntop(AF_INET, &mreqn.imr_multiaddr, buf[0], - sizeof(buf[0])), + sock, + inet_ntop(AF_INET, &mreqn.imr_multiaddr, buf[0], + sizeof(buf[0])), ifindex); setsockopt(sock, IPPROTO_IP, IP_DROP_MEMBERSHIP, (void *)&mreqn, sizeof(mreqn)); @@ -303,8 +304,9 @@ int setsockopt_ipv4_multicast(int sock, int optname, struct in_addr if_addr, zlog_info( "setsockopt_ipv4_multicast attempting to drop and " "re-add (fd %d, mcast %s, ifindex %u)", - sock, inet_ntop(AF_INET, &mreq.imr_multiaddr, buf[0], - sizeof(buf[0])), + sock, + inet_ntop(AF_INET, &mreq.imr_multiaddr, buf[0], + sizeof(buf[0])), ifindex); setsockopt(sock, IPPROTO_IP, IP_DROP_MEMBERSHIP, (void *)&mreq, sizeof(mreq)); |
