]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
util-ioctl: minor code cleaning.
authorEric Leblond <eric@regit.org>
Tue, 19 Nov 2013 10:26:54 +0000 (11:26 +0100)
committerEric Leblond <eric@regit.org>
Mon, 25 Nov 2013 14:08:54 +0000 (15:08 +0100)
Fix author e-mail and simplify an indentation.

src/util-ioctl.c

index ef5824a3b5e48b129a40e2feb50ec676f3baa770..ca600d46085c5caf96356d1fff0b9dd5290f3c93 100644 (file)
@@ -18,7 +18,7 @@
 /**
  * \file
  *
- * \author Eric Leblond <eleblond@edenwall.com>
+ * \author Eric Leblond <eric@regit.org>
  */
 
 #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;