summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip_carp.c
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2005-03-01 10:59:14 +0000
committerglebius <glebius@FreeBSD.org>2005-03-01 10:59:14 +0000
commitea3bf9bbdddea0177c61e7e86335bf19e319dc7d (patch)
tree04e8269570fec92588a7ceea508b729ed365a388 /sys/netinet/ip_carp.c
parent2da58c223380e951aafd40287fa3e3890feb2acc (diff)
downloadFreeBSD-src-ea3bf9bbdddea0177c61e7e86335bf19e319dc7d.zip
FreeBSD-src-ea3bf9bbdddea0177c61e7e86335bf19e319dc7d.tar.gz
Revert change to struct ifnet. Use ifnet pointer in softc. Embedding
ifnet into smth will soon be removed. Requested by: brooks
Diffstat (limited to 'sys/netinet/ip_carp.c')
-rw-r--r--sys/netinet/ip_carp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/ip_carp.c b/sys/netinet/ip_carp.c
index 0d78ddc..e80cdd5 100644
--- a/sys/netinet/ip_carp.c
+++ b/sys/netinet/ip_carp.c
@@ -90,7 +90,7 @@ SYSCTL_DECL(_net_inet_carp);
struct carp_softc {
struct arpcom sc_ac; /* Interface clue */
#define sc_if sc_ac.ac_if
-#define sc_carpdev sc_ac.ac_if.if_carpdev
+ struct ifnet *sc_carpdev; /* Pointer to parent interface */
struct in_ifaddr *sc_ia; /* primary iface address */
struct ip_moptions sc_imo;
#ifdef INET6
OpenPOWER on IntegriCloud