diff options
author | whitespace / reindent <invalid@invalid.invalid> | 2017-07-17 21:26:02 +0200 |
---|---|---|
committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2017-07-17 21:26:02 +0200 |
commit | c14777c6bfd0a446c85243d3a9835054a259c276 (patch) | |
tree | 2021f7d89a6046f81ff1f44d256ecff28282568f /lib/sockopt.c | |
parent | Merge pull request #826 from qlyoung/rm-vtyoutln (diff) | |
download | frr-c14777c6bfd0a446c85243d3a9835054a259c276.tar.xz frr-c14777c6bfd0a446c85243d3a9835054a259c276.zip |
*: 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 d100991a3..a1bde13a9 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)); |