diff options
author | Ryan Thomas McBride <mcbride@cvs.openbsd.org> | 2004-12-08 06:57:56 +0000 |
---|---|---|
committer | Ryan Thomas McBride <mcbride@cvs.openbsd.org> | 2004-12-08 06:57:56 +0000 |
commit | a3a34c3c6b12a2a3e9461379fbe1d73dc712b8ae (patch) | |
tree | 75988a556304c25e04a9dafa629848cf1264e912 /sys/netinet/ip_carp.h | |
parent | cf2a4811a40c723ce40bfe6bade0eed5883ed287 (diff) |
Check if_type in carp_carpdev_state() to make sure we're not
dealing with a carp interface.
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 a46b26fd207..0c6720671f3 100644 --- a/sys/netinet/ip_carp.h +++ b/sys/netinet/ip_carp.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ip_carp.h,v 1.9 2004/12/07 20:38:47 mcbride Exp $ */ +/* $OpenBSD: ip_carp.h,v 1.10 2004/12/08 06:57:55 mcbride Exp $ */ /* * Copyright (c) 2002 Michael Shalayeff. All rights reserved. @@ -153,7 +153,7 @@ struct carpreq { #ifdef _KERNEL void carp_ifdetach (struct ifnet *); void carp_proto_input (struct mbuf *, ...); -void carp_carpdev_state(void *); +void carp_carpdev_state(struct ifnet *); int carp6_proto_input(struct mbuf **, int *, int); int carp_output(struct ifnet *, struct mbuf *, struct sockaddr *, struct rtentry *); |