summaryrefslogtreecommitdiff
path: root/sys/netinet/ip_carp.c
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2010-11-26 12:25:53 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2010-11-26 12:25:53 +0000
commitb24758f7237f3fba48d71a9b4f6c74982610e755 (patch)
tree69b71dbae1cb2c6f0f6d0b43064dc49de22d7a82 /sys/netinet/ip_carp.c
parente67cc20f841e3294f15d6561b146db586a2cd01a (diff)
more useful logging level for demotion adjustments
ok mcbide@ claudio@ henning@
Diffstat (limited to 'sys/netinet/ip_carp.c')
-rw-r--r--sys/netinet/ip_carp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/ip_carp.c b/sys/netinet/ip_carp.c
index d32d57bd91c..b987c6c41c1 100644
--- a/sys/netinet/ip_carp.c
+++ b/sys/netinet/ip_carp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_carp.c,v 1.178 2010/08/26 13:28:15 claudio Exp $ */
+/* $OpenBSD: ip_carp.c,v 1.179 2010/11/26 12:25:52 otto Exp $ */
/*
* Copyright (c) 2002 Michael Shalayeff. All rights reserved.
@@ -2585,7 +2585,7 @@ carp_group_demote_adj(struct ifnet *ifp, int adj, char *reason)
if (adj > 0 && *dm == 1)
carp_send_ad_all();
- CARP_LOG(LOG_NOTICE, nil,
+ CARP_LOG(LOG_ERR, nil,
("%s demoted group %s by %d to %d (%s)",
ifp->if_xname, ifgl->ifgl_group->ifg_group,
adj, *dm, reason));