summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/net/if_iso88025subr.c4
-rw-r--r--sys/net/if_loop.c2
-rw-r--r--sys/net/if_tap.c2
-rw-r--r--sys/net/if_var.h2
-rw-r--r--sys/netinet/icmp_var.h2
-rw-r--r--sys/netinet/ip_icmp.c12
6 files changed, 12 insertions, 12 deletions
diff --git a/sys/net/if_iso88025subr.c b/sys/net/if_iso88025subr.c
index fd0cd0a..f23f5ee 100644
--- a/sys/net/if_iso88025subr.c
+++ b/sys/net/if_iso88025subr.c
@@ -213,8 +213,8 @@ iso88025_output(ifp, m, dst, rt0)
struct rtentry *rt0;
{
u_int16_t snap_type = 0;
- int loop_copy = 0, error = 0, rif_len = 0;
- u_char edst[ISO88025_ADDR_LEN];
+ int loop_copy = 0, error = 0, rif_len = 0;
+ u_char edst[ISO88025_ADDR_LEN];
struct iso88025_header *th;
struct iso88025_header gen_th;
struct sockaddr_dl *sdl = NULL;
diff --git a/sys/net/if_loop.c b/sys/net/if_loop.c
index b36e907..9a2afa2 100644
--- a/sys/net/if_loop.c
+++ b/sys/net/if_loop.c
@@ -110,7 +110,7 @@ static MALLOC_DEFINE(M_LO, "lo", "Loopback Interface");
struct lo_softc {
struct ifnet sc_if; /* network-visible interface */
- LIST_ENTRY(lo_softc) sc_next;
+ LIST_ENTRY(lo_softc) sc_next;
};
static LIST_HEAD(lo_list, lo_softc) lo_list;
diff --git a/sys/net/if_tap.c b/sys/net/if_tap.c
index b20de71..5505a60 100644
--- a/sys/net/if_tap.c
+++ b/sys/net/if_tap.c
@@ -454,7 +454,7 @@ tapclose(dev, foo, bar, td)
struct tap_softc *tp = dev->si_drv1;
struct ifnet *ifp = &tp->tap_if;
- KASSERT((tp->tap_unit != NULL),
+ KASSERT((tp->tap_unit != NULL),
("%s%d is not open", ifp->if_name, ifp->if_unit));
/* junk all pending output */
diff --git a/sys/net/if_var.h b/sys/net/if_var.h
index dacea63..12cd740 100644
--- a/sys/net/if_var.h
+++ b/sys/net/if_var.h
@@ -390,7 +390,7 @@ struct ifmultiaddr {
} while (0)
struct ifindex_entry {
- struct ifnet *ife_ifnet;
+ struct ifnet *ife_ifnet;
struct ifaddr *ife_ifnet_addr;
dev_t ife_dev;
};
diff --git a/sys/netinet/icmp_var.h b/sys/netinet/icmp_var.h
index 4038c42..47d381e 100644
--- a/sys/netinet/icmp_var.h
+++ b/sys/netinet/icmp_var.h
@@ -81,7 +81,7 @@ SYSCTL_DECL(_net_inet_icmp);
extern int badport_bandlim __P((int));
#define BANDLIM_UNLIMITED -1
#define BANDLIM_ICMP_UNREACH 0
-#define BANDLIM_ICMP_ECHO 1
+#define BANDLIM_ICMP_ECHO 1
#define BANDLIM_ICMP_TSTAMP 2
#define BANDLIM_RST_CLOSEDPORT 3 /* No connection, and no listeners */
#define BANDLIM_RST_OPENPORT 4 /* No connection, listener */
diff --git a/sys/netinet/ip_icmp.c b/sys/netinet/ip_icmp.c
index dba581f..a73a150 100644
--- a/sys/netinet/ip_icmp.c
+++ b/sys/netinet/ip_icmp.c
@@ -614,12 +614,12 @@ icmp_reflect(m)
TAILQ_FOREACH(ifa, &m->m_pkthdr.rcvif->if_addrhead, ifa_link) {
if (ifa->ifa_addr->sa_family != AF_INET)
continue;
- ia = ifatoia(ifa);
- if (satosin(&ia->ia_broadaddr)->sin_addr.s_addr ==
- t.s_addr)
- goto match;
- }
- }
+ ia = ifatoia(ifa);
+ if (satosin(&ia->ia_broadaddr)->sin_addr.s_addr ==
+ t.s_addr)
+ goto match;
+ }
+ }
ro = &rt;
bzero(ro, sizeof(*ro));
ia = ip_rtaddr(ip->ip_dst, ro);
OpenPOWER on IntegriCloud