diff options
author | Guy Harris <guy@alum.mit.edu> | 2018-04-30 00:37:41 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2018-04-30 00:37:41 -0700 |
commit | 95bd30319a119f1111a09ca92404b45cbf5d2a93 (patch) | |
tree | e545035b5eeaffbee950a89f73f3bf4adebbf69f | |
parent | bb1a2c4c8163b5b96f408f995065aec63ce7e0d6 (diff) |
get_if_flags() in pcap-npf.c doesn't need to be global.
It only needs to be global if one of the routines in pcap.c that calls
it is called, and that's not the case with NPF.
-rw-r--r-- | pcap-npf.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1431,7 +1431,7 @@ pcap_add_if_npf(pcap_if_list_t *devlistp, char *name, bpf_u_int32 flags, return (res); } -int +static int get_if_flags(const char *name, bpf_u_int32 *flags, char *errbuf) { char *name_copy; |