make sure we still compile for all out rh71 users
authorRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>
Mon, 25 Sep 2006 08:10:10 +0000 (08:10 -0000)
committerRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>
Mon, 25 Sep 2006 08:10:10 +0000 (08:10 -0000)
svn path=/trunk/; revision=19320

capture_loop.c

index 6b10801f1a974bedaf63895ef9dafec649bcd5ef..49d50156a3b399baed667e5479ed045ad007643c 100644 (file)
@@ -986,7 +986,7 @@ capture_loop_dispatch(capture_options *capture_opts _U_, loop_data *ld,
     g_log(LOG_DOMAIN_CAPTURE_CHILD, G_LOG_LEVEL_DEBUG, "capture_loop_dispatch: from pcap_dispatch with select");
 #endif
     if (ld->pcap_fd != -1) {
-      sel_ret = cap_pipe_select(fd, TRUE);
+      sel_ret = cap_pipe_select(ld->pcap_fd, TRUE);
       if (sel_ret > 0) {
         /*
          * "select()" says we can read from it without blocking; go for