From d60f0a6284e8f5fac733a1b269ea614ccdf47fcd Mon Sep 17 00:00:00 2001 From: Hans Dedecker Date: Sun, 15 Dec 2019 20:17:32 +0100 Subject: treewide: optimize syslog priority values Signed-off-by: Hans Dedecker --- src/dhcpv6-ia.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/dhcpv6-ia.c') diff --git a/src/dhcpv6-ia.c b/src/dhcpv6-ia.c index da2501f..6a09b2f 100644 --- a/src/dhcpv6-ia.c +++ b/src/dhcpv6-ia.c @@ -71,7 +71,7 @@ int dhcpv6_ia_setup_interface(struct interface *iface, bool enable) border = alloc_assignment(0); if (!border) { - syslog(LOG_ERR, "Failed to alloc border on %s", iface->name); + syslog(LOG_WARNING, "Failed to alloc border on %s", iface->name); return -1; } @@ -1065,8 +1065,8 @@ static void dhcpv6_log(uint8_t msgtype, struct interface *iface, time_t now, dhcpv6_ia_enum_addrs(iface, a, now, dhcpv6_log_ia_addr, &ctxt); } - syslog(LOG_NOTICE, "DHCPV6 %s %s from %s on %s: %s %s", type, (is_pd) ? "IA_PD" : "IA_NA", - duidbuf, iface->name, status, leasebuf); + syslog(LOG_INFO, "DHCPV6 %s %s from %s on %s: %s %s", type, (is_pd) ? "IA_PD" : "IA_NA", + duidbuf, iface->name, status, leasebuf); } static bool dhcpv6_ia_on_link(const struct dhcpv6_ia_hdr *ia, struct dhcp_assignment *a, -- cgit v1.2.3