]> The Tcpdump Group git mirrors - libpcap/blobdiff - pcap-can-linux.c
Rename the "private" member of a pcap_t to avoid C++ issues.
[libpcap] / pcap-can-linux.c
index bee669b03eb26833618bc4d2e5a2df4e4aee26af..80fa41ccf148ac9a04d68836a0468c167afc8534 100644 (file)
@@ -143,7 +143,7 @@ can_create(const char *device, char *ebuf, int *is_ours)
 static int
 can_activate(pcap_t* handle)
 {
-       struct pcap_can *handlep = handle->private;
+       struct pcap_can *handlep = handle->priv;
        struct sockaddr_can addr;
        struct ifreq ifr;