Bug 95758 - net/netspeed_applet: Patch to support FreeBSD device names
Summary: net/netspeed_applet: Patch to support FreeBSD device names
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-gnome (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-14 19:20 UTC by Kevin Oberman
Modified: 2006-04-15 08:39 UTC (History)
0 users

See Also:


Attachments
file.diff (1.67 KB, patch)
2006-04-14 19:20 UTC, Kevin Oberman
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Oberman 2006-04-14 19:20:20 UTC
	The netspeed applet does not understand FreeBSD device types.
	This has two impacts. First, the icons are never changed with
        the interface type. Second, if the active interface switched,
        instead of switching to the new interface, it would flip to
        loopback, not terribly useful. The code that should have
        handled this was doing a g_string_equals for "lo" and not
        "lo0". 

	I am sure that I could have coded the icon settings better, but
        it seems to work. Feel free to do soemting tidier if you feel
	like it. I am not a great C programmer.

Fix: Add the attached file as patch-src_netspeed.c
How-To-Repeat: 	N/A
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2006-04-14 19:43:52 UTC
Responsible Changed
From-To: freebsd-ports-bugs->gnome

Make it clear what this applies to, and assign.
Comment 2 Joe Marcus Clarke freebsd_committer freebsd_triage 2006-04-15 08:39:48 UTC
State Changed
From-To: open->closed

Committed, thanks!