diff options
author | Gerhard Roth <gerhard@cvs.openbsd.org> | 2013-03-29 12:53:42 +0000 |
---|---|---|
committer | Gerhard Roth <gerhard@cvs.openbsd.org> | 2013-03-29 12:53:42 +0000 |
commit | ac1640e32d69f9e9d4ad7d666c2938267bad918b (patch) | |
tree | d8ec5d9ea555ac2b40c7fccc1ecb3dc8361fbc23 /usr.sbin/snmpd/snmpd.h | |
parent | 3702ed01c938bc0b9101f4d62f327e16a8f0e213 (diff) |
Patch from Ilya Bakulin that allows to put snmpd(8) into read-only mode
so that all "set" requests will be rejected.
ok reyk@
Diffstat (limited to 'usr.sbin/snmpd/snmpd.h')
-rw-r--r-- | usr.sbin/snmpd/snmpd.h | 3 |
1 files changed, 2 insertions, 1 deletions
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 <reyk@openbsd.org> @@ -421,6 +421,7 @@ struct snmpd { int sc_rtfilter; int sc_min_seclevel; + int sc_readonly; }; /* control.c */ |