From owner-freebsd-ports Thu Aug 24 13: 0: 7 2000 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id C6FFF37B43C for ; Thu, 24 Aug 2000 13:00:03 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id NAA32043; Thu, 24 Aug 2000 13:00:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from mail45.fg.online.no (mail45-s.fg.online.no [148.122.161.45]) by hub.freebsd.org (Postfix) with ESMTP id 0B39A37B43C for ; Thu, 24 Aug 2000 12:52:20 -0700 (PDT) Received: from tricknology.org (ti21a63-0155.dialup.online.no [130.67.199.155]) by mail45.fg.online.no (8.9.3/8.9.3) with ESMTP id VAA22903 for ; Thu, 24 Aug 2000 21:52:18 +0200 (MET DST) Received: (from oddbjorn@localhost) by tricknology.org (8.9.3/8.9.3) id VAA98116; Thu, 24 Aug 2000 21:52:15 +0200 (CEST) (envelope-from oddbjorn) Message-Id: <200008241952.VAA98116@tricknology.org> Date: Thu, 24 Aug 2000 21:52:15 +0200 (CEST) From: oddbjorn@tricknology.org Reply-To: oddbjorn@tricknology.org To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/20825: Update port: net/bpft Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 20825 >Category: ports >Synopsis: Bug fix >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Aug 24 13:00:03 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Oddbjorn Steffensen >Release: FreeBSD 4.1-STABLE i386 >Organization: Funkjazztical Tricknology >Environment: N/A >Description: Bug fix submitted by Stas Kisel . >How-To-Repeat: N/A >Fix: diff -urN bpft/patches/patch-ah bpft.new/patches/patch-ah --- bpft/patches/patch-ah Thu Jan 1 01:00:00 1970 +++ bpft.new/patches/patch-ah Thu Aug 24 21:45:23 2000 @@ -0,0 +1,39 @@ +--- trafd/traffic.c.buggy Mon Aug 7 18:45:54 2000 ++++ trafd/traffic.c Mon Aug 7 18:46:42 2000 +@@ -253,7 +253,7 @@ + t.p_port = tp->th_sport, t.who_srv = 1; + else if (tp->th_sport > tp->th_dport) + t.p_port = tp->th_dport, t.who_srv = 2; +- else if (tp->th_sport = tp->th_dport) ++ else if (tp->th_sport == tp->th_dport) + t.p_port = tp->th_sport, t.who_srv = 3; + if (t.p_port > IPPORT_RESERVED) { + if (s_port_big[tp->th_sport & (IPPORT_RESERVED-1)] & IPPROTO_TCP) { +@@ -263,7 +263,7 @@ + t.p_port = tp->th_dport; + t.who_srv = 2; + } +- if (tp->th_sport = tp->th_dport) t.who_srv = 3; ++ if (tp->th_sport == tp->th_dport) t.who_srv = 3; + } + traf_add(insertentry(&t), t.n_bytes, t.n_psize); + +@@ -300,7 +300,7 @@ + t.p_port = up->uh_sport, t.who_srv = 1; + else if (up->uh_sport > up->uh_dport) + t.p_port = up->uh_dport, t.who_srv = 2; +- else if (up->uh_sport = up->uh_dport) ++ else if (up->uh_sport == up->uh_dport) + t.p_port = up->uh_sport, t.who_srv = 3; + if (t.p_port > IPPORT_RESERVED) { + if (s_port_big[up->uh_sport & (IPPORT_RESERVED-1)] & IPPROTO_UDP) { +@@ -310,7 +310,7 @@ + t.p_port = up->uh_dport; + t.who_srv = 2; + } +- if (up->uh_sport = up->uh_dport) t.who_srv = 3; ++ if (up->uh_sport == up->uh_dport) t.who_srv = 3; + } + traf_add(insertentry(&t), t.n_bytes, t.n_psize); + + >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message