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 861385 Details for
Bug 1063298
MAC address incorrectly displayed
[?]
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]
patch
0001-display-hardware-address-correctly.patch (text/plain), 823 bytes, created by
Jiri Popelka
on 2014-02-10 12:56:45 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Jiri Popelka
Created:
2014-02-10 12:56:45 UTC
Size:
823 bytes
patch
obsolete
>From 40e89e61ddf2a280b52bd84444e38be05d1930bf Mon Sep 17 00:00:00 2001 >From: Jiri Popelka <jpopelka@redhat.com> >Date: Mon, 10 Feb 2014 13:47:56 +0100 >Subject: [PATCH] display hardware address correctly > >see >http://www.microhowto.info/howto/get_the_mac_address_of_an_ethernet_interface_in_c_using_siocgifhwaddr.html#idp32576 >--- > iftop.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/iftop.c b/iftop.c >index a090dcf..883782e 100644 >--- a/iftop.c >+++ b/iftop.c >@@ -713,7 +713,7 @@ void packet_init() { > if(have_hw_addr) { > fprintf(stderr, "MAC address is:"); > for (i = 0; i < 6; ++i) >- fprintf(stderr, "%c%02x", i ? ':' : ' ', (unsigned int)if_hw_addr[i]); >+ fprintf(stderr, "%c%02x", i ? ':' : ' ', (unsigned char)if_hw_addr[i]); > fprintf(stderr, "\n"); > } > >-- >1.8.5.3 >
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 1063298
: 861385