FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Red Hat Linux

 
 
LinkBack Thread Tools
 
Old 09-09-2011, 02:25 PM
Ales Kozumplik
 
Default 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:129: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
 

Thread Tools




All times are GMT. The time now is 03:25 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org