diff options
author | Hans Dedecker <dedeckeh@gmail.com> | 2019-12-15 20:17:32 +0100 |
---|---|---|
committer | Hans Dedecker <dedeckeh@gmail.com> | 2019-12-15 20:44:16 +0100 |
commit | d60f0a6284e8f5fac733a1b269ea614ccdf47fcd (patch) | |
tree | 4b4c03bf8b8f5029ec1a5fb667a9c5260c29a62a /src/dhcpv6-ia.c | |
parent | 9a4531a4313c4b32a9ffae92c00a59a4d4b738a8 (diff) |
treewide: optimize syslog priority values
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Diffstat (limited to 'src/dhcpv6-ia.c')
-rw-r--r-- | src/dhcpv6-ia.c | 6 |
1 files changed, 3 insertions, 3 deletions
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, |