rtnetlink: do not use address labels for device name
authorThadeu Lima de Souza Cascardo <cascardo@redhat.com>
Thu, 18 Feb 2016 12:54:28 +0000 (10:54 -0200)
committerThadeu Lima de Souza Cascardo <cascardo@redhat.com>
Thu, 10 Mar 2016 17:03:57 +0000 (14:03 -0300)
commit723d2844919980e2db52e56483cb95d75b5bebda
tree9951694dc0efe68be036096b0c3c7a30be248263
parent7a6078f0122271f97944ed9a9db4d134badff676
rtnetlink: do not use address labels for device name

Address labels are not the name of the device they belong to, and are not
present in IPv6 notifications. Just use the interface index and get the name
from that.
lib/rtnetlink.c
lib/rtnetlink.h