Hi,

the rule for 'listen_udptcp' is missing a semicolon at its end.

I have no idea what yacc does to the following 'port' rule without
that semicolon.

Gerhard


Index: usr.sbin/snmpd/parse.y
===================================================================
RCS file: /cvs/src/usr.sbin/snmpd/parse.y,v
retrieving revision 1.70
diff -u -p -u -p -r1.70 parse.y
--- usr.sbin/snmpd/parse.y      15 Oct 2021 15:01:29 -0000      1.70
+++ usr.sbin/snmpd/parse.y      20 Oct 2021 11:45:29 -0000
@@ -350,6 +350,7 @@ listen_udptcp       : listenproto STRING port 
                        free($2);
                        free($3);
                }
+               ;
 
 port           : /* empty */                   {
                        $$ = NULL;

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to