summaryrefslogtreecommitdiff
path: root/pcap-int.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2018-04-30 23:49:37 -0700
committerGuy Harris <guy@alum.mit.edu>2018-04-30 23:49:37 -0700
commitb96a841e7d457b3a61b17d0abf2e90b1d61c9b7e (patch)
tree7e03a6182b4723bb211bb6e0c8324dff18f44968 /pcap-int.h
parentcbc136f31390f24072ddf4977dfc516b481d13e4 (diff)
downloadlibpcap-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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/pcap-int.h b/pcap-int.h
index 7236f955..8c442f69 100644
--- a/pcap-int.h
+++ b/pcap-int.h
@@ -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 *);