diff options
Diffstat (limited to 'pcap-bt-linux.c')
-rw-r--r-- | pcap-bt-linux.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pcap-bt-linux.c b/pcap-bt-linux.c index a398b267..7173805a 100644 --- a/pcap-bt-linux.c +++ b/pcap-bt-linux.c @@ -190,11 +190,11 @@ bt_activate(pcap_t* handle) int err = PCAP_ERROR; /* get bt interface id */ - if (sscanf(handle->opt.source, BT_IFACE"%d", &dev_id) != 1) + if (sscanf(handle->opt.device, BT_IFACE"%d", &dev_id) != 1) { pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Can't get Bluetooth device index from %s", - handle->opt.source); + handle->opt.device); return PCAP_ERROR; } |