[rhel5-branch 2/4] infiniband: textual representation of an infiniband MAC is up to 60 bytes.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux