You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Linux kernel's rtnl_dev_get implementation prefers IFLA_IFNAME over IFLA_ALT_IFNAME (6.1, but probably for a long time). LinkByName(name) always produces an IFLA_IFNAME in its query, and adds an IFLA_ALT_IFNAME in case the specified name is longer than 15 bytes. However, based on the kernel's rtnl_dev_get implementation, this is without effect.
LinkByName needs to produce IFLA_ALT_IFNAMEin lieu ofIFLA_IFNAME when the specified name is longer than 15 bytes.
The text was updated successfully, but these errors were encountered:
The Linux kernel's
rtnl_dev_get
implementation prefersIFLA_IFNAME
overIFLA_ALT_IFNAME
(6.1, but probably for a long time).LinkByName(name)
always produces anIFLA_IFNAME
in its query, and adds anIFLA_ALT_IFNAME
in case the specified name is longer than 15 bytes. However, based on the kernel'srtnl_dev_get
implementation, this is without effect.LinkByName
needs to produceIFLA_ALT_IFNAME
in lieu ofIFLA_IFNAME
when the specified name is longer than 15 bytes.The text was updated successfully, but these errors were encountered: