No need for each bsnmpd(1) module to open connection to syslog

bsnmpd(1) main does that early on init and the connection is available
to all loaded modules

Event:		Vienna Hackathon 2019
PR:		233431 , 221487
MFC after:	2 weeks
This commit is contained in:
syrinx 2019-06-21 07:45:58 +00:00
parent 711da9cba7
commit ae701960e9

View File

@ -100,7 +100,6 @@ lm75_init(struct lmodule *mod, int argc __unused, char *argv[] __unused)
module = mod;
lm75_sensors = 0;
openlog("snmp_lm75", LOG_NDELAY | LOG_PID, LOG_DAEMON);
return(0);
}