]> git.proxmox.com Git - mirror_iproute2.git/commitdiff
iproute2: Support 20-byte link layer address in idxmap
authorDavid Ward <david.ward@ll.mit.edu>
Thu, 15 Oct 2009 18:53:21 +0000 (14:53 -0400)
committerStephen Hemminger <stephen.hemminger@vyatta.com>
Tue, 1 Dec 2009 23:41:39 +0000 (15:41 -0800)
Extend the link-layer address field from 8 to 20 bytes to support InfiniBand.

Signed-off-by: David Ward <david.ward@ll.mit.edu>
lib/ll_map.c

index c1d61a9af9dea41cb72b8bd08a5fa4801f977ced..a96c59ea6af23947ecbf42bf2f893ea07932ed3e 100644 (file)
@@ -31,7 +31,7 @@ struct idxmap
        int             type;
        int             alen;
        unsigned        flags;
-       unsigned char   addr[8];
+       unsigned char   addr[20];
        char            name[16];
 };