diff options
author | Gerald Combs <gerald@wireshark.org> | 2009-08-27 23:55:48 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2009-08-27 23:55:48 +0000 |
commit | 3b4fb8e340535a2f85767568a7bb36151092cc43 (patch) | |
tree | 79b2de5ce88c9e86cd2f3b4cbc6bc33c9034a025 /dumpcap.c | |
parent | eaa827d1ea63c1ee5d92c6372058ea4b4854c18f (diff) |
Properly set our file descriptor when we're capturing from a pipe on
non-Windows systems.
svn path=/trunk/; revision=29590
Diffstat (limited to 'dumpcap.c')
-rw-r--r-- | dumpcap.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1068,6 +1068,7 @@ cap_pipe_open_live(char *pipename, struct pcap_hdr *hdr, loop_data *ld, ld->cap_pipe_state = STATE_EXPECT_REC_HDR; ld->cap_pipe_err = PIPOK; + ld->cap_pipe_fd = fd; return; error: |