Skip to content

Commit e3eef2c

Browse files
authored
Merge pull request #487 from pic4xiu/master
Fix -q parameter not being parsed in pcapd
2 parents da1c8ab + 4026145 commit e3eef2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/jni/pcapd/pcapd.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1033,7 +1033,7 @@ static void parse_args(pcapd_conf_t *conf, int argc, char **argv) {
10331033
init_conf(conf);
10341034
opterr = 0;
10351035

1036-
while ((c = getopt (argc, argv, "hdtni:u:b:l:L:")) != -1) {
1036+
while ((c = getopt (argc, argv, "hdtnqi:u:b:l:L:")) != -1) {
10371037
switch(c) {
10381038
case 'i':
10391039
if(conf->num_interfaces >= PCAPD_MAX_INTERFACES) {

0 commit comments

Comments
 (0)