From: martijn Date: Tue, 10 Aug 2021 16:14:00 +0000 (+0000) Subject: Overlooked a listen_tcp that needed removal in previous commit. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=a79502178ce3d5a89f4840c292faabf41152b358;p=openbsd Overlooked a listen_tcp that needed removal in previous commit. This caused listen on tcp lines to fail to parse. OK sthen@ --- 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 @@ -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; }