Created attachment 194029 [details] allow zero expire value bsnmp-regex-0.6 allows to change "expires" option from the default zero value to non-zero one but does not allow to change it back to zero due to small error in the config parser. Trivial patch is attached to fix this.
A commit references this bug: Author: eugen Date: Sat Jun 30 01:15:44 UTC 2018 New revision: 473593 URL: https://svnweb.freebsd.org/changeset/ports/473593 Log: net-mgmt/bsnmp-regex: permit expires = 0 Fix bsnmp-regex-0.6 allowing to change "expires" option from the default zero value to non-zero one not allowing to change it back to zero. PR: 228765 Approved by: koobs (maintainer timeout, 3 weeks) Changes: head/net-mgmt/bsnmp-regex/Makefile head/net-mgmt/bsnmp-regex/files/ head/net-mgmt/bsnmp-regex/files/patch-bsnmp-regex.c
Thanks Eugene, sorry I didn't get to this earlier.