dect
/
libnl
Archived
13
0
Fork 0

neigh: fix id_attrs to include ifindex

Neighbour entries for the same destination may exist on multiple
interfaces. Include the interface in the ID attributes.

Signed-off-by: Patrick McHardy <kaber@trash.net>
This commit is contained in:
Patrick McHardy 2010-04-07 19:17:42 +02:00 committed by Thomas Graf
parent ba1bd9050d
commit 8290725718
1 changed files with 1 additions and 1 deletions

View File

@ -850,7 +850,7 @@ static struct nl_object_ops neigh_obj_ops = {
},
.oo_compare = neigh_compare,
.oo_attrs2str = neigh_attrs2str,
.oo_id_attrs = (NEIGH_ATTR_DST | NEIGH_ATTR_FAMILY),
.oo_id_attrs = (NEIGH_ATTR_IFINDEX | NEIGH_ATTR_DST | NEIGH_ATTR_FAMILY),
};
static struct nl_af_group neigh_groups[] = {