From d6998249084df8dc1131b8dd3cbce0d65a075b4f Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Wed, 29 Jun 2016 20:45:03 -0700 Subject: Rename opt.source to opt.device. For local captures, it's jut the device. If we add remote capture support, we'll be handed a URL, and will split the URL into multiple components, and will store the various components in the opt structure, with the path of the URL being opt.device. --- pcap-sita.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pcap-sita.c') diff --git a/pcap-sita.c b/pcap-sita.c index 0350f40a..6ceb38d9 100644 --- a/pcap-sita.c +++ b/pcap-sita.c @@ -988,7 +988,7 @@ static int pcap_activate_sita(pcap_t *handle) { handle->read_op = pcap_read_acn; handle->stats_op = pcap_stats_acn; - fd = acn_open_live(handle->opt.source, handle->errbuf, + fd = acn_open_live(handle->opt.device, handle->errbuf, &handle->linktype); if (fd == -1) return PCAP_ERROR; -- cgit v1.2.3