From ac1640e32d69f9e9d4ad7d666c2938267bad918b Mon Sep 17 00:00:00 2001 From: Gerhard Roth Date: Fri, 29 Mar 2013 12:53:42 +0000 Subject: Patch from Ilya Bakulin that allows to put snmpd(8) into read-only mode so that all "set" requests will be rejected. ok reyk@ --- usr.sbin/snmpd/snmpd.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'usr.sbin/snmpd/snmpd.h') diff --git a/usr.sbin/snmpd/snmpd.h b/usr.sbin/snmpd/snmpd.h index c425e9b6af6..66b81e4865d 100644 --- a/usr.sbin/snmpd/snmpd.h +++ b/usr.sbin/snmpd/snmpd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: snmpd.h,v 1.42 2013/03/06 21:42:40 sthen Exp $ */ +/* $OpenBSD: snmpd.h,v 1.43 2013/03/29 12:53:41 gerhard Exp $ */ /* * Copyright (c) 2007, 2008, 2012 Reyk Floeter @@ -421,6 +421,7 @@ struct snmpd { int sc_rtfilter; int sc_min_seclevel; + int sc_readonly; }; /* control.c */ -- cgit v1.2.3