summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorMartijn van Duren <martijn@cvs.openbsd.org>2021-08-10 16:14:01 +0000
committerMartijn van Duren <martijn@cvs.openbsd.org>2021-08-10 16:14:01 +0000
commitef3078f29e31c0bfad1a0d704c56ba2450935cdd (patch)
treed1a3d8954e7cd3d8379e01c61c19d0ef713e7b6c /usr.sbin
parentf9541cbd02c7757c5d577c4bc689e6b73a97b424 (diff)
Overlooked a listen_tcp that needed removal in previous commit.
This caused listen on tcp lines to fail to parse. OK sthen@
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/snmpd/parse.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/snmpd/parse.y b/usr.sbin/snmpd/parse.y
index 7cf7f383ea4..b9f4016fabe 100644
--- a/usr.sbin/snmpd/parse.y
+++ b/usr.sbin/snmpd/parse.y
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.y,v 1.66 2021/08/10 06:49:33 martijn Exp $ */
+/* $OpenBSD: parse.y,v 1.67 2021/08/10 16:14:00 martijn Exp $ */
/*
* Copyright (c) 2007, 2008, 2012 Reyk Floeter <reyk@openbsd.org>
@@ -291,7 +291,7 @@ main : LISTEN ON listen_udptcp
listenproto : /* empty */ { $$ = SOCK_DGRAM; }
| UDP { $$ = SOCK_DGRAM; }
- | TCP listen_tcp { $$ = SOCK_STREAM; }
+ | TCP { $$ = SOCK_STREAM; }
;
listenflags : /* empty */ { $$ = 0; }