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 309050 Details for
Bug 451002
rhpl will always pad single-digit octets in IP address with a 0
[?]
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]
suggested patch
ethtool-ipaddr.patch (text/plain), 416 bytes, created by
Michael Mráka
on 2008-06-12 10:12:37 UTC
(
hide
)
Description:
suggested patch
Filename:
MIME Type:
Creator:
Michael Mráka
Created:
2008-06-12 10:12:37 UTC
Size:
416 bytes
patch
obsolete
>--- rhpl-0.148.6/src/ethtool/ethtool.c 2008-06-12 12:04:16.000000000 +0200 >+++ rhpl-0.148.6/src/ethtool/ethtool.c.orig 2008-06-12 12:04:02.000000000 +0200 >@@ -189,7 +189,7 @@ > close(fd); > > >- sprintf(ipaddr, "%u.%u.%u.%u", >+ sprintf(ipaddr, "%02u.%02u.%02u.%02u", > (unsigned int)ifr.ifr_addr.sa_data[2] % 256, > (unsigned int)ifr.ifr_addr.sa_data[3] % 256, > (unsigned int)ifr.ifr_addr.sa_data[4] % 256,
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 451002
: 309050