Skip to content

Commit

Permalink
Squelch another warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
guyharris committed Nov 6, 2019
1 parent 9f205ac commit 05a230e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pcap-npf.c
Original file line number Diff line number Diff line change
Expand Up @@ -1706,6 +1706,12 @@ get_if_flags(const char *name, bpf_u_int32 *flags, char *errbuf)
*/
*flags |= PCAP_IF_CONNECTION_STATUS_DISCONNECTED;
break;

default:
/*
* It's unknown whether it's connected or not.
*/
break;
}
}
#else
Expand Down

0 comments on commit 05a230e

Please sign in to comment.