diff options
author | luigi <luigi@FreeBSD.org> | 2003-06-28 14:23:22 +0000 |
---|---|---|
committer | luigi <luigi@FreeBSD.org> | 2003-06-28 14:23:22 +0000 |
commit | 880567e3db6fe34520f53b77dafaf7648390a62c (patch) | |
tree | 5c034476d33136c46f0c2fc4de095a418ac50309 /sys/netinet | |
parent | f8b1841e607005080630845c243d0401d99e6828 (diff) | |
download | FreeBSD-src-880567e3db6fe34520f53b77dafaf7648390a62c.zip FreeBSD-src-880567e3db6fe34520f53b77dafaf7648390a62c.tar.gz |
Remove a stale comment, fix indentation.
Diffstat (limited to 'sys/netinet')
-rw-r--r-- | sys/netinet/ip_dummynet.c | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/sys/netinet/ip_dummynet.c b/sys/netinet/ip_dummynet.c index a94226a..9585cc7 100644 --- a/sys/netinet/ip_dummynet.c +++ b/sys/netinet/ip_dummynet.c @@ -454,9 +454,6 @@ transmit_event(struct dn_pipe *pipe) * it has not consumed it. */ if (pkt->dn_dir == DN_TO_BDG_FWD) { - /* - * same as ether_input, make eh be a pointer into the mbuf - */ m = bdg_forward_ptr(m, pkt->ifp); if (m) m_freem(m); @@ -880,11 +877,11 @@ find_queue(struct dn_flow_set *fs, struct ipfw_flow_id *id) for (prev=NULL, q = fs->rq[i] ; q ; ) { search_steps++; if (id->dst_ip == q->id.dst_ip && - id->src_ip == q->id.src_ip && - id->dst_port == q->id.dst_port && - id->src_port == q->id.src_port && - id->proto == q->id.proto && - id->flags == q->id.flags) + id->src_ip == q->id.src_ip && + id->dst_port == q->id.dst_port && + id->src_port == q->id.src_port && + id->proto == q->id.proto && + id->flags == q->id.flags) break ; /* found */ else if (pipe_expire && q->head == NULL && q->S == q->F+1 ) { /* entry is idle and not in any heap, expire it */ |