summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2004-04-28 01:00:50 +0000
committerderaadt <deraadt@openbsd.org>2004-04-28 01:00:50 +0000
commit97c59c6c237f76d6faf51cca23b542e9ad24fc45 (patch)
treebaea7ba85176a62dc51d6c5ae2c893f503fffbd8
parentdon't load SAs into the kernel if IKE is used. (diff)
downloadwireguard-openbsd-97c59c6c237f76d6faf51cca23b542e9ad24fc45.tar.xz
wireguard-openbsd-97c59c6c237f76d6faf51cca23b542e9ad24fc45.zip
correct yacc
-rw-r--r--usr.sbin/ifstated/parse.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ifstated/parse.y b/usr.sbin/ifstated/parse.y
index 49f502b1d3f..722dfd062f0 100644
--- a/usr.sbin/ifstated/parse.y
+++ b/usr.sbin/ifstated/parse.y
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.y,v 1.6 2004/03/07 16:46:17 henning Exp $ */
+/* $OpenBSD: parse.y,v 1.7 2004/04/28 01:00:50 deraadt Exp $ */
/*
* Copyright (c) 2004 Ryan McBride <mcbride@openbsd.org>
@@ -253,6 +253,7 @@ init : INIT {
else
curaction = conf->always.always;
}
+ ;
if_test : interface LINK UP {
$$ = new_ifstate($1, IFSD_LINKUP);
@@ -630,7 +631,6 @@ parse_config(char *filename, int opts)
conf->loglevel = IFSD_LOG_NORMAL;
conf->opts = opts;
-
yyparse();
fclose(fin);