Skip to content

Commit

Permalink
compat: generate ethernet bonding mac in xml config
Browse files Browse the repository at this point in the history
  • Loading branch information
mtomaschewski committed Mar 21, 2016
1 parent 14c2e98 commit 1fc7aee
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions client/compat.c
Original file line number Diff line number Diff line change
Expand Up @@ -502,6 +502,11 @@ __ni_compat_generate_bonding(xml_node_t *ifnode, const ni_compat_netdev_t *compa
(bond->all_slaves_active ? "true" : "false"));
}

if (compat->dev->link.hwaddr.len) {
xml_node_new_element("address", child,
ni_link_address_print(&compat->dev->link.hwaddr));
}

return TRUE;
}

Expand Down

0 comments on commit 1fc7aee

Please sign in to comment.