[PATCH libmnl 2/3] examples: fix print line format

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Use 80 characters per line limit.

Signed-off-by: Laura Garcia Liebana <nevola@xxxxxxxxx>
---
 examples/rtnl/rtnl-neigh-dump.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/examples/rtnl/rtnl-neigh-dump.c b/examples/rtnl/rtnl-neigh-dump.c
index 52fa1c7..54d87e5 100644
--- a/examples/rtnl/rtnl-neigh-dump.c
+++ b/examples/rtnl/rtnl-neigh-dump.c
@@ -62,7 +62,9 @@ static int data_cb(const struct nlmsghdr *nlh, void *data)
 		unsigned char lladdr[6] = {0};
 
 		if (memcpy(&lladdr, addr, 6))
-			printf("%02x:%02x:%02x:%02x:%02x:%02x ", lladdr[0], lladdr[1], lladdr[2], lladdr[3], lladdr[4], lladdr[5]);
+			printf("%02x:%02x:%02x:%02x:%02x:%02x ",
+			       lladdr[0], lladdr[1], lladdr[2],
+			       lladdr[3], lladdr[4], lladdr[5]);
 	}
 
 	printf("state=");
-- 
2.11.0

--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux