summaryrefslogtreecommitdiffstats
path: root/sys/netinet
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2007-01-25 17:58:16 +0000
committerglebius <glebius@FreeBSD.org>2007-01-25 17:58:16 +0000
commitb7c8a97d9bbbe0af8dcb84f6d9a9018670b7ec3a (patch)
tree590eef50cfcf3b9fc6a6bf2bf06a759ac0e29f54 /sys/netinet
parent901783bd82553ff8f0009c89e3142bb1afb62dca (diff)
downloadFreeBSD-src-b7c8a97d9bbbe0af8dcb84f6d9a9018670b7ec3a.zip
FreeBSD-src-b7c8a97d9bbbe0af8dcb84f6d9a9018670b7ec3a.tar.gz
Spacing.
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/ip_carp.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/netinet/ip_carp.c b/sys/netinet/ip_carp.c
index 1aa0e99..8a3dfd1 100644
--- a/sys/netinet/ip_carp.c
+++ b/sys/netinet/ip_carp.c
@@ -458,7 +458,7 @@ carpdetach(struct carp_softc *sc)
FREE(cif, M_IFADDR);
}
}
- sc->sc_carpdev = NULL;
+ sc->sc_carpdev = NULL;
}
/* Detach an interface from the carp. */
@@ -467,7 +467,7 @@ carp_ifdetach(void *arg __unused, struct ifnet *ifp)
{
struct carp_if *cif = (struct carp_if *)ifp->if_carp;
struct carp_softc *sc, *nextsc;
-
+
if (cif == NULL)
return;
@@ -1376,9 +1376,9 @@ carp_multicast_cleanup(struct carp_softc *sc)
struct ip_moptions *imo = &sc->sc_imo;
#ifdef INET6
struct ip6_moptions *im6o = &sc->sc_im6o;
-#endif
+#endif
u_int16_t n = imo->imo_num_memberships;
-
+
/* Clean up our own multicast memberships */
while (n-- > 0) {
if (imo->imo_membership[n] != NULL) {
@@ -1393,7 +1393,7 @@ carp_multicast_cleanup(struct carp_softc *sc)
while (!LIST_EMPTY(&im6o->im6o_memberships)) {
struct in6_multi_mship *imm =
LIST_FIRST(&im6o->im6o_memberships);
-
+
LIST_REMOVE(imm, i6mm_chain);
in6_leavegroup(imm);
}
OpenPOWER on IntegriCloud