diff options
author | Guy Harris <guy@alum.mit.edu> | 2018-04-30 23:49:37 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2018-04-30 23:49:37 -0700 |
commit | b96a841e7d457b3a61b17d0abf2e90b1d61c9b7e (patch) | |
tree | 7e03a6182b4723bb211bb6e0c8324dff18f44968 /pcap-int.h | |
parent | cbc136f31390f24072ddf4977dfc516b481d13e4 (diff) | |
download | libpcap-b96a841e7d457b3a61b17d0abf2e90b1d61c9b7e.tar.gz |
Shuffle the find_or_add_dev() arguments.
Put the "get more interface flags" routine pointer right after the
"interface flags" pointer.
Diffstat (limited to 'pcap-int.h')
-rw-r--r-- | pcap-int.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -450,7 +450,7 @@ int pcap_findalldevs_interfaces(pcap_if_list_t *, char *, int (*)(const char *), get_if_flags_func); #endif pcap_if_t *find_or_add_dev(pcap_if_list_t *, const char *, bpf_u_int32, - const char *, get_if_flags_func, char *); + get_if_flags_func, const char *, char *); pcap_if_t *find_dev(pcap_if_list_t *, const char *); pcap_if_t *add_dev(pcap_if_list_t *, const char *, bpf_u_int32, const char *, char *); |