aboutsummaryrefslogtreecommitdiff
path: root/pcap-npf.c
diff options
context:
space:
mode:
Diffstat (limited to 'pcap-npf.c')
-rw-r--r--pcap-npf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pcap-npf.c b/pcap-npf.c
index 837f4908..1419470b 100644
--- a/pcap-npf.c
+++ b/pcap-npf.c
@@ -527,7 +527,7 @@ pcap_read_win32_npf(pcap_t *p, int cnt, pcap_handler callback, u_char *user)
*/
#define bhp ((struct bpf_hdr *)bp)
ep = bp + cc;
- while (1) {
+ for (;;) {
register int caplen, hdrlen;
/*