Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 156553 Details for
Bug 216640
link speed shows Not Available under Devices option in gnome-nettool
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Changes done to mii.h and util-mii.c
gnome-nettool (text/plain), 1.30 KB, created by
Narendra K
on 2007-06-08 06:55:23 UTC
(
hide
)
Description:
Changes done to mii.h and util-mii.c
Filename:
MIME Type:
Creator:
Narendra K
Created:
2007-06-08 06:55:23 UTC
Size:
1.30 KB
patch
obsolete
>diff -Naru gnome-nettool-2.16.0/src/mii.h gnome-nettool-2.16.0-modified/src/mii.h >--- gnome-nettool-2.16.0/src/mii.h 2004-01-23 21:18:45.000000000 +0530 >+++ gnome-nettool-2.16.0-modified/src/mii.h 2007-06-08 11:38:01.000000000 +0530 >@@ -10,13 +10,7 @@ > #define _LINUX_MII_H > > /* network interface ioctl's for MII commands */ >-#ifndef SIOCGMIIPHY >-#define SIOCGMIIPHY (SIOCDEVPRIVATE) /* Read from current PHY */ >-#define SIOCGMIIREG (SIOCDEVPRIVATE+1) /* Read any PHY register */ >-#define SIOCSMIIREG (SIOCDEVPRIVATE+2) /* Write any PHY register */ >-#define SIOCGPARAMS (SIOCDEVPRIVATE+3) /* Read operational parameters */ >-#define SIOCSPARAMS (SIOCDEVPRIVATE+4) /* Set operational parameters */ >-#endif >+#include <linux/sockios.h> > > #include <linux/types.h> > >diff -Naru gnome-nettool-2.16.0/src/util-mii.c gnome-nettool-2.16.0-modified/src/util-mii.c >--- gnome-nettool-2.16.0/src/util-mii.c 2004-06-08 23:08:16.000000000 +0530 >+++ gnome-nettool-2.16.0-modified/src/util-mii.c 2007-06-08 11:51:33.000000000 +0530 >@@ -177,6 +177,12 @@ > memset (data.iface, 0, 100); > memset (data.media, 0, 100); > >+ /* if the interface is a loopback interface */ >+ if (!strcmp (ifname, "lo")) { >+ data.has_data = 0; >+ return data; >+ } >+ > /* Open a basic socket. */ > if ((sock = socket (AF_INET, SOCK_DGRAM, 0)) < 0) { > data.has_data = 0;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 216640
: 156553