diff options
| author | Jonathan Lemon <jlemon@FreeBSD.org> | 2001-12-14 19:32:47 +0000 |
|---|---|---|
| committer | Jonathan Lemon <jlemon@FreeBSD.org> | 2001-12-14 19:32:47 +0000 |
| commit | effa274e9e1b65dd846f803114e9dfebf5ad808b (patch) | |
| tree | 9e23d8bcfd24b838ce96256de3d85fcc14f5d5c7 | |
| parent | f8b6a631a2e1dac8d790edf729fd82d3502782ad (diff) | |
Notes
| -rw-r--r-- | sys/net/if_iso88025subr.c | 4 | ||||
| -rw-r--r-- | sys/net/if_loop.c | 2 | ||||
| -rw-r--r-- | sys/net/if_tap.c | 2 | ||||
| -rw-r--r-- | sys/net/if_var.h | 2 | ||||
| -rw-r--r-- | sys/netinet/icmp_var.h | 2 | ||||
| -rw-r--r-- | sys/netinet/ip_icmp.c | 12 |
6 files changed, 12 insertions, 12 deletions
diff --git a/sys/net/if_iso88025subr.c b/sys/net/if_iso88025subr.c index fd0cd0ab65a3..f23f5ee5762d 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 b36e907f52dc..9a2afa285ec4 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 b20de7119a95..5505a60da5ca 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 dacea6319072..12cd7400a0fb 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 4038c4222914..47d381efb327 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 dba581f42bcb..a73a150e5986 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); |
