summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2002-08-26 22:43:53 +0000
committerderaadt <deraadt@openbsd.org>2002-08-26 22:43:53 +0000
commitee9e128b70959113d7ffcf7b1d10d7f367e03236 (patch)
tree346bdbbc7ec6a37b3f886ee75e7a6135fb7f343a /lib
parentadd man page for bsd.regress.mk, based on bsd.port.mk (diff)
downloadwireguard-openbsd-ee9e128b70959113d7ffcf7b1d10d7f367e03236.tar.xz
wireguard-openbsd-ee9e128b70959113d7ffcf7b1d10d7f367e03236.zip
must yyrestart after longjmp; moritz@jodeit.org
Diffstat (limited to 'lib')
-rw-r--r--lib/libpcap/scanner.l5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libpcap/scanner.l b/lib/libpcap/scanner.l
index d22326b0e4c..4d214ad4752 100644
--- a/lib/libpcap/scanner.l
+++ b/lib/libpcap/scanner.l
@@ -1,5 +1,5 @@
%{
-/* $OpenBSD: scanner.l,v 1.12 2002/03/23 01:33:16 frantzen Exp $ */
+/* $OpenBSD: scanner.l,v 1.13 2002/08/26 22:43:53 deraadt Exp $ */
/*
* Copyright (c) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997
@@ -24,7 +24,7 @@
#ifndef lint
static const char rcsid[] =
- "@(#) $Header: /home/cvs/src/lib/libpcap/scanner.l,v 1.12 2002/03/23 01:33:16 frantzen Exp $ (LBL)";
+ "@(#) $Header: /home/cvs/src/lib/libpcap/scanner.l,v 1.13 2002/08/26 22:43:53 deraadt Exp $ (LBL)";
#endif
#include <sys/types.h>
@@ -272,6 +272,7 @@ lex_init(buf)
char *buf;
{
in_buffer = buf;
+ yyrestart(NULL);
}
/*