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:
parent
711da9cba7
commit
ae701960e9
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user