summaryrefslogtreecommitdiff
path: root/pcap-snf.c
diff options
context:
space:
mode:
Diffstat (limited to 'pcap-snf.c')
-rw-r--r--pcap-snf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pcap-snf.c b/pcap-snf.c
index a453b11c..521867ba 100644
--- a/pcap-snf.c
+++ b/pcap-snf.c
@@ -242,7 +242,7 @@ static int
snf_activate(pcap_t* p)
{
struct pcap_snf *ps = p->priv;
- char *device = p->opt.source;
+ char *device = p->opt.device;
const char *nr = NULL;
int err;
int flags = -1, ring_id = -1;