Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Red Hat Linux (http://www.linux-archive.org/red-hat-linux/)
-   -   infiniband: textual representation of an infiniband MAC is up to 60 bytes. (http://www.linux-archive.org/red-hat-linux/573646-infiniband-textual-representation-infiniband-mac-up-60-bytes.html)

Ales Kozumplik 09-09-2011 02:25 PM

infiniband: textual representation of an infiniband MAC is up to 60 bytes.
 
Related: rhbz#660684
---
isys/nl.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/isys/nl.c b/isys/nl.c
index af4928d..206cc0b 100644
--- a/isys/nl.c
+++ b/isys/nl.c
@@ -175,7 +175,7 @@ ip2str_error:
* readable format (e.g., 00:11:52:12:D9:A0). Return NULL for no match.
*/
char *nl_mac2str(char *ifname) {
- int buflen = 20;
+ int buflen = 64;
char *buf = NULL;
struct nl_handle *handle = NULL;
struct nl_cache *cache = NULL;
--
1.7.6

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


All times are GMT. The time now is 11:34 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.