From 008ed41cb4d2e278305a008a9074e2438124ab1c Mon Sep 17 00:00:00 2001 From: Eric Leblond Date: Tue, 19 Nov 2013 11:26:54 +0100 Subject: [PATCH] util-ioctl: minor code cleaning. Fix author e-mail and simplify an indentation. --- src/util-ioctl.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/util-ioctl.c b/src/util-ioctl.c index ef5824a3b5..ca600d4608 100644 --- a/src/util-ioctl.c +++ b/src/util-ioctl.c @@ -18,7 +18,7 @@ /** * \file * - * \author Eric Leblond + * \author Eric Leblond */ #include "suricata-common.h" @@ -51,12 +51,10 @@ int GetIfaceMaxHWHeaderLength(char *pcap_dev) || (!strcmp("tap", pcap_dev)) || - (!strcmp("lo", pcap_dev)) - ) + (!strcmp("lo", pcap_dev))) return ETHERNET_HEADER_LEN; - if ( - (!strcmp("ppp", pcap_dev)) - ) + + if (!strcmp("ppp", pcap_dev)) return SLL_HEADER_LEN; /* SLL_HEADER_LEN is the biggest one */ return SLL_HEADER_LEN;