mirror of
https://github.com/thead-yocto-mirror/meta-openembedded
synced 2026-09-04 05:04:39 +02:00
IpPool is a userspace daemon for managing one or more pools of IP addresses. It was developed as part of the OpenL2TP project but has since been repackaged so that it may be used independently of OpenL2TP. Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
23 lines
473 B
Diff
23 lines
473 B
Diff
ippool: always log to syslog
|
|
|
|
Even when running in the foreground, send log messages to syslog.
|
|
|
|
Upstream-Status: Inappropriate [embedded specific]
|
|
|
|
Signed-off-by: Joe Slater <jslater@windriver.com>
|
|
|
|
|
|
--- a/ippool_main.c
|
|
+++ b/ippool_main.c
|
|
@@ -251,9 +251,8 @@ void ippool_vlog(int level, const char *
|
|
if (ippool_opt_nodaemon) {
|
|
vprintf(fmt, ap);
|
|
printf("\n");
|
|
- } else {
|
|
- vsyslog(level, fmt, ap);
|
|
}
|
|
+ vsyslog(level, fmt, ap);
|
|
DMALLOC_VMESSAGE(fmt, ap);
|
|
}
|
|
|