diff options
| author | Cy Schubert <cy@FreeBSD.org> | 2019-12-21 21:01:03 +0000 |
|---|---|---|
| committer | Cy Schubert <cy@FreeBSD.org> | 2019-12-21 21:01:03 +0000 |
| commit | 57e22627f9459b9dfd6043b32e02ecfcf205e176 (patch) | |
| tree | 733d0d2f47b71256b6ed23db38f8d98f49e84a59 /contrib/libpcap/pcap-netmap.c | |
| parent | d07c5718060de7337ab278cfd1b0f7f0616493c0 (diff) | |
| parent | 30a580a870fabfea51e4b970c488e58bd1515ce4 (diff) | |
Notes
Diffstat (limited to 'contrib/libpcap/pcap-netmap.c')
| -rw-r--r-- | contrib/libpcap/pcap-netmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/libpcap/pcap-netmap.c b/contrib/libpcap/pcap-netmap.c index f1505633fcaa..b2301a7fd8de 100644 --- a/contrib/libpcap/pcap-netmap.c +++ b/contrib/libpcap/pcap-netmap.c @@ -67,7 +67,7 @@ pcap_netmap_stats(pcap_t *p, struct pcap_stat *ps) { struct pcap_netmap *pn = p->priv; - ps->ps_recv = pn->rx_pkts; + ps->ps_recv = (u_int)pn->rx_pkts; ps->ps_drop = 0; ps->ps_ifdrop = 0; return 0; |
