Commit 5706659c2e009e32df772344c33ec9ec17e4618f
- Diff rendering mode:
- inline
- side by side
filter.c
(4 / 1)
|   | |||
| 215 | 215 | } | |
| 216 | 216 | ||
| 217 | 217 | while (!shuttingDown) { | |
| 218 | pcap_dispatch(pcap_socket, -1, (pcap_handler)filter_packet, NULL); | ||
| 218 | int r = pcap_dispatch(pcap_socket, -1, (pcap_handler)filter_packet, NULL); | ||
| 219 | if (r < 1) { | ||
| 220 | shuttingDown = 1; | ||
| 221 | } | ||
| 219 | 222 | if(shouldExpunge) { | |
| 220 | 223 | expunge(); | |
| 221 | 224 | } |

