diff options
author | Marco Pfatschbacher <mpf@cvs.openbsd.org> | 2010-04-25 17:38:54 +0000 |
---|---|---|
committer | Marco Pfatschbacher <mpf@cvs.openbsd.org> | 2010-04-25 17:38:54 +0000 |
commit | 5423a7142fc3ef05c909fe26338c0f6914e80312 (patch) | |
tree | c58a5aade62001862e15f95d46e7e81748f8d9e1 /sys/netinet/ip_carp.h | |
parent | 083209be9a6b6859f96522362fd5cee27e5b10aa (diff) |
Properly adjust group demotion counters when groups are added or
removed. Extend carp demote logging to also show the reason for
the demote. Return EINVAL instead of ERANGE if a carpdemote request
is out range. Requested from otto.
OK mcbride, henning.
Diffstat (limited to 'sys/netinet/ip_carp.h')
-rw-r--r-- | sys/netinet/ip_carp.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/ip_carp.h b/sys/netinet/ip_carp.h index 145bc9d4023..57155e2313c 100644 --- a/sys/netinet/ip_carp.h +++ b/sys/netinet/ip_carp.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ip_carp.h,v 1.27 2008/06/14 21:46:22 reyk Exp $ */ +/* $OpenBSD: ip_carp.h,v 1.28 2010/04/25 17:38:53 mpf Exp $ */ /* * Copyright (c) 2002 Michael Shalayeff. All rights reserved. @@ -166,7 +166,7 @@ struct carpreq { void carp_ifdetach (struct ifnet *); void carp_proto_input (struct mbuf *, ...); void carp_carpdev_state(void *); -void carp_group_demote_adj(struct ifnet *, int); +void carp_group_demote_adj(struct ifnet *, int, char *); int carp6_proto_input(struct mbuf **, int *, int); int carp_iamatch(struct in_ifaddr *, u_char *, u_int8_t **, u_int8_t **); |