aboutsummaryrefslogtreecommitdiff
path: root/pcap-haiku.c
diff options
context:
space:
mode:
authorGuy Harris <gharris@sonic.net>2023-05-16 20:12:25 -0700
committerGuy Harris <gharris@sonic.net>2023-05-26 12:11:41 -0700
commitd14fb11d0dfc06ee5dac58146497aa5b0aa7c6fa (patch)
treed5788de7a812404fbdf6dce2c51d7d593e5ac5f1 /pcap-haiku.c
parenteb324d58b651674764c17ed63dddc568952ffed9 (diff)
Prefix routines declared in pcap-int.h with pcap_.
This avoids potential and, in one case (SIMH), actual collisions with names in other libraries or in applications using libpcap.
Diffstat (limited to 'pcap-haiku.c')
-rw-r--r--pcap-haiku.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pcap-haiku.c b/pcap-haiku.c
index 2a496e12..9655644d 100644
--- a/pcap-haiku.c
+++ b/pcap-haiku.c
@@ -151,7 +151,7 @@ pcap_activate_haiku(pcap_t *handle)
const char* device = handle->opt.device;
handle->read_op = pcap_read_haiku;
- handle->setfilter_op = install_bpf_program; /* no kernel filtering */
+ handle->setfilter_op = pcap_install_bpf_program; /* no kernel filtering */
handle->inject_op = pcap_inject_haiku;
handle->stats_op = pcap_stats_haiku;