diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2004-10-28 20:34:21 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2004-10-28 20:34:21 +0000 |
commit | 902f30213b6aeae26f996f8b372051d1eb6972d8 (patch) | |
tree | 1e2d6d56f96d8ecfb2a183d5d22bd8fadb744d67 /sys/netinet/ip_carp.c | |
parent | b55094580d972a7e468f45967c72bb4773bc8afb (diff) |
define IFT_CARP, and set if_type to that on carp interfaces instead
of hiding under IFT_PROPVIRTUAL, ryan daniel ok
Diffstat (limited to 'sys/netinet/ip_carp.c')
-rw-r--r-- | sys/netinet/ip_carp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/ip_carp.c b/sys/netinet/ip_carp.c index 9efa52d988e..fb07e8bcb6c 100644 --- a/sys/netinet/ip_carp.c +++ b/sys/netinet/ip_carp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ip_carp.c,v 1.67 2004/10/06 03:56:08 mcbride Exp $ */ +/* $OpenBSD: ip_carp.c,v 1.68 2004/10/28 20:34:20 henning Exp $ */ /* * Copyright (c) 2002 Michael Shalayeff. All rights reserved. @@ -651,7 +651,7 @@ carp_clone_create(ifc, unit) ifp->if_ioctl = carp_ioctl; ifp->if_output = looutput; ifp->if_start = carp_start; - ifp->if_type = IFT_PROPVIRTUAL; + ifp->if_type = IFT_CARP; ifp->if_snd.ifq_maxlen = ifqmaxlen; ifp->if_hdrlen = 0; if_attach(ifp); |