summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorThomas Graf <tgraf@suug.ch>2011-04-13 16:42:34 +0200
committerThomas Graf <tgraf@suug.ch>2011-04-13 16:42:34 +0200
commit96bc6d6f66454cba0daa637cbfd714da3539c687 (patch)
tree2b61ae982a914910825babd096d842445da127be /tests
parentb5918b5ce3c48271abe4c021431f2b978af28f73 (diff)
downloadlibnl-96bc6d6f66454cba0daa637cbfd714da3539c687.tar.gz
Improve rtnl_link_change() behaviour
- avoid unncessary name change requests The kernel does not check if the specified IFNAME is different from the current name. It assumes that if IFNAME and ifindex are both specified, a name change is requested. Therefore avoid specyfing IFNAME if ifindex is provided and original and new name are identical. - move link building to own function (to allow link add later on) - error if immutable changes have been made - better documentation
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions