mirror of
https://github.com/emanuele-f/PCAPdroid.git
synced 2026-06-11 21:01:45 +08:00
Merge pull request #487 from pic4xiu/master
Fix -q parameter not being parsed in pcapd
This commit is contained in:
commit
e3eef2cbf7
@ -1033,7 +1033,7 @@ static void parse_args(pcapd_conf_t *conf, int argc, char **argv) {
|
||||
init_conf(conf);
|
||||
opterr = 0;
|
||||
|
||||
while ((c = getopt (argc, argv, "hdtni:u:b:l:L:")) != -1) {
|
||||
while ((c = getopt (argc, argv, "hdtnqi:u:b:l:L:")) != -1) {
|
||||
switch(c) {
|
||||
case 'i':
|
||||
if(conf->num_interfaces >= PCAPD_MAX_INTERFACES) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user