summaryrefslogtreecommitdiffstats
path: root/print-mobility.c
diff options
context:
space:
mode:
Diffstat (limited to 'print-mobility.c')
-rw-r--r--print-mobility.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/print-mobility.c b/print-mobility.c
index 55340ca..945a8ca 100644
--- a/print-mobility.c
+++ b/print-mobility.c
@@ -30,9 +30,7 @@
/* \summary: IPv6 mobility printer */
/* RFC 3775 */
-#ifdef HAVE_CONFIG_H
#include <config.h>
-#endif
#include "netdissect-stdinc.h"
@@ -130,8 +128,7 @@ mobility_opt_print(netdissect_options *ndo,
else {
if (i + 1 < len) {
optlen = GET_U_1(bp + i + 1) + 2;
- }
- else
+ } else
goto trunc;
}
if (i + optlen > len)