diff options
Diffstat (limited to 'pcap-canusb-linux.c')
-rw-r--r-- | pcap-canusb-linux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pcap-canusb-linux.c b/pcap-canusb-linux.c index fb5b669f..715a60d0 100644 --- a/pcap-canusb-linux.c +++ b/pcap-canusb-linux.c @@ -371,7 +371,7 @@ static int canusb_activate(pcap_t* handle) handle->linktype = DLT_CAN_SOCKETCAN; handle->set_datalink_op = NULL; - serial = handle->opt.source + strlen(CANUSB_IFACE); + serial = handle->opt.device + strlen(CANUSB_IFACE); canusb->dev = canusb_opendevice(canusb->ctx, serial); if (!canusb->dev) |