diff options
author | Philip Paeps <philip@FreeBSD.org> | 2019-10-06 04:26:37 +0000 |
---|---|---|
committer | Philip Paeps <philip@FreeBSD.org> | 2019-10-06 04:26:37 +0000 |
commit | 30a580a870fabfea51e4b970c488e58bd1515ce4 (patch) | |
tree | cf18fcdc7c1818418ee5fc375ca4ba2094583a41 /pcap-netmap.c | |
parent | d109bf9e4b609b5a0626b433e56db4a47dc530bb (diff) |
Notes
Diffstat (limited to 'pcap-netmap.c')
-rw-r--r-- | pcap-netmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pcap-netmap.c b/pcap-netmap.c index f1505633fcaa..b2301a7fd8de 100644 --- a/pcap-netmap.c +++ b/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; |