From e03dcc040d47e87991314991ba2f79af9fab2218 Mon Sep 17 00:00:00 2001 From: David Ward Date: Thu, 15 Oct 2009 14:53:21 -0400 Subject: [PATCH] iproute2: Support 20-byte link layer address in idxmap Extend the link-layer address field from 8 to 20 bytes to support InfiniBand. Signed-off-by: David Ward --- lib/ll_map.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ll_map.c b/lib/ll_map.c index c1d61a9a..a96c59ea 100644 --- a/lib/ll_map.c +++ b/lib/ll_map.c @@ -31,7 +31,7 @@ struct idxmap int type; int alen; unsigned flags; - unsigned char addr[8]; + unsigned char addr[20]; char name[16]; };