diff options
author | Guy Harris <guy@alum.mit.edu> | 2017-03-07 14:27:41 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2017-03-07 14:27:58 -0800 |
commit | bf5cecc64b15489fd979aef7132e54ea5d2fd04b (patch) | |
tree | 4d4e8255e373af6a9251788f61b3c9e80c5e3c36 /pcap-new.c | |
parent | 603e86c3cd2466ab1f32f578b7b8d52dc7af92eb (diff) |
Mark a remote capture pcap_t as activated once it's opened.
Diffstat (limited to 'pcap-new.c')
-rw-r--r-- | pcap-new.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -944,6 +944,7 @@ pcap_t *pcap_open(const char *source, int snaplen, int flags, int read_timeout, fp->snapshot = snaplen; fp->opt.timeout = read_timeout; + fp->activated = 1; md->rmt_flags = flags; break; |