From a79502178ce3d5a89f4840c292faabf41152b358 Mon Sep 17 00:00:00 2001 From: martijn Date: Tue, 10 Aug 2021 16:14:00 +0000 Subject: [PATCH] Overlooked a listen_tcp that needed removal in previous commit. This caused listen on tcp lines to fail to parse. OK sthen@ --- usr.sbin/snmpd/parse.y | 4 ++-- 1 file 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 @@ -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; } -- 2.20.1