summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerhard Roth <gerhard@cvs.openbsd.org>2021-10-20 16:00:48 +0000
committerGerhard Roth <gerhard@cvs.openbsd.org>2021-10-20 16:00:48 +0000
commit680ad0fd84b796539f67a3856c4cd447b9d0df4b (patch)
treea8bb8339dd3226fa71805817fbba11139d2a5362
parentac70e7eb8d7ade60cdb1a6d7e0afc4dfe0bbe47a (diff)
Add missing semicolon at the end of the listen_udptcp rule
ok otto@
-rw-r--r--usr.sbin/snmpd/parse.y3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/snmpd/parse.y b/usr.sbin/snmpd/parse.y
index c19edf81cff..f55d523f2e4 100644
--- a/usr.sbin/snmpd/parse.y
+++ b/usr.sbin/snmpd/parse.y
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.y,v 1.70 2021/10/15 15:01:29 naddy Exp $ */
+/* $OpenBSD: parse.y,v 1.71 2021/10/20 16:00:47 gerhard Exp $ */
/*
* Copyright (c) 2007, 2008, 2012 Reyk Floeter <reyk@openbsd.org>
@@ -350,6 +350,7 @@ listen_udptcp : listenproto STRING port listenflags {
free($2);
free($3);
}
+ ;
port : /* empty */ {
$$ = NULL;