Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Feb 2002 02:03:25 -0500 (EST)
From:      Richard Glidden <richard@glidden.org>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/35030: [patch] wmnet2-1.06_1 transfer activity arrows do not flash 
Message-ID:  <200202170703.g1H73P190617@zaphod.wox.org>

next in thread | raw e-mail | index | archive | help

>Number:         35030
>Category:       ports
>Synopsis:       [patch] wmnet2-1.06_1 transfer activity arrows do not flash
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Feb 16 23:10:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Richard Glidden
>Release:        FreeBSD 4.5-RELEASE i386
>Organization:
>Environment:
System: FreeBSD charon.localnet 4.5-RELEASE FreeBSD 4.5-RELEASE #0: Sun Feb 10 22:29:11 EST 2002 rglidden@charon.localnet:/usr/obj/usr/src/sys/CHARON i386

>Description:
	The two arrows in the upper-right corner of the wmnet2 window do not 
flash to represent data transfers when using the kmem driver (which is the only
driver available on the FreeBSD port).  The arrows flash when using other 
drivers on non-FreeBSD systems.

>How-To-Repeat:
	Run the wmnet2 port and transfer data over the monitored interface.  
The arrows do not flash, and remain either dark or illuminated.

>Fix:

*** drivers.c   Sun Feb 17 01:57:45 2002
--- /usr/ports/net/wmnet2/drivers.c.fixed       Sun Feb 17 01:44:25 2002
***************
*** 458,463 ****
--- 458,465 ----
   unsigned long ifnet_addr = ifnet_savedaddr;
   char devname[16];
   int flag = 0;
+  rx = False;
+  tx = False;
   while (ifnet_addr && flag != (ACCOUNT_IN_FOUND|ACCOUNT_OUT_FOUND)) {
    kvm_read(kvmfd, ifnet_addr, buffer, sizeof(struct ifnet));
  #ifdef __OpenBSD__


>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200202170703.g1H73P190617>