-/* $OpenBSD: snmpd.c,v 1.21 2014/04/25 06:57:11 blambert Exp $ */
+/* $OpenBSD: snmpd.c,v 1.22 2014/04/28 08:25:05 blambert Exp $ */
/*
* Copyright (c) 2007, 2008, 2012 Reyk Floeter <reyk@openbsd.org>
static struct privsep_proc procs[] = {
{ "snmpe", PROC_SNMPE, snmpd_dispatch_snmpe, snmpe, snmpe_shutdown },
- { "traphandler", PROC_ALERT, snmpd_dispatch_traphandler, traphandler,
+ { "traphandler", PROC_TRAP, snmpd_dispatch_traphandler, traphandler,
traphandler_shutdown }
};
-/* $OpenBSD: snmpd.h,v 1.52 2014/04/25 06:57:11 blambert Exp $ */
+/* $OpenBSD: snmpd.h,v 1.53 2014/04/28 08:25:05 blambert Exp $ */
/*
* Copyright (c) 2007, 2008, 2012 Reyk Floeter <reyk@openbsd.org>
enum privsep_procid {
PROC_PARENT, /* Parent process and application interface */
PROC_SNMPE, /* SNMP engine */
- PROC_ALERT, /* SNMP trap receiver */
+ PROC_TRAP, /* SNMP trap receiver */
PROC_MAX
};