case IFLA_LINK:
/* Index of "lower" interface */
iff->lower_idx = *(int*)RTA_DATA(attribute);
+ log_debug("netlink", "attribute IFLA_LINK for %s: %d",
+ iff->name ? iff->name : "(unknown)", iff->lower_idx);
break;
case IFLA_LINK_NETNSID:
/* Is the lower interface into another namesapce? */
iff->lower_idx = -1;
+ log_debug("netlink", "attribute IFLA_LINK_NETNSID received for %s",
+ iff->name ? iff->name : "(unknown)");
break;
case IFLA_MASTER:
/* Index of master interface */
new->type = old->type;
if (new->vlanid == 0)
new->vlanid = old->vlanid;
+
+ /* It's not possible for lower link to change */
+ new->lower_idx = old->lower_idx;
}
/**