diff options
author | Guy Harris <guy@alum.mit.edu> | 2016-06-29 20:45:03 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2016-06-29 20:45:03 -0700 |
commit | d6998249084df8dc1131b8dd3cbce0d65a075b4f (patch) | |
tree | a8e5e12973f2fa5c6797b578441f165dde7f5005 /pcap-sita.c | |
parent | 8924ffeafc0cef74a399e9c8eb285b46c5a04e0f (diff) |
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.
Diffstat (limited to 'pcap-sita.c')
-rw-r--r-- | pcap-sita.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |