aboutsummaryrefslogtreecommitdiff
path: root/testprogs/filtertest.c
diff options
context:
space:
mode:
authorJoseph Mingrone <jrm@FreeBSD.org>2024-09-05 19:46:35 +0000
committerJoseph Mingrone <jrm@FreeBSD.org>2024-09-05 19:46:35 +0000
commit025be3f592b920ff0a3e602e5aa8b60a34e5e617 (patch)
tree4f33277584e4a38c8bad5c2788584a00cf830ea4 /testprogs/filtertest.c
parent6b96668d5b49eea57b7551349eca70928cc199ce (diff)
Diffstat (limited to 'testprogs/filtertest.c')
-rw-r--r--testprogs/filtertest.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/testprogs/filtertest.c b/testprogs/filtertest.c
index 15556d045cf7..172997556402 100644
--- a/testprogs/filtertest.c
+++ b/testprogs/filtertest.c
@@ -27,9 +27,7 @@ static const char copyright[] _U_ =
The Regents of the University of California. All rights reserved.\n";
#endif
-#ifdef HAVE_CONFIG_H
#include <config.h>
-#endif
#include <pcap.h>
#include <stdio.h>
@@ -252,10 +250,10 @@ main(int argc, char **argv)
case 'g':
#ifdef BDEBUG
++gflag;
+ break;
#else
error("libpcap and filtertest not built with optimizer debugging enabled");
#endif
- break;
case 'F':
infile = optarg;
@@ -272,12 +270,10 @@ main(int argc, char **argv)
case 0:
error("invalid netmask %s", optarg);
- break;
case -1:
error("invalid netmask %s: %s", optarg,
pcap_strerror(errno));
- break;
case 1:
netmask = addr;