diff options
author | Chris Grahn <grahn@posteo.net> | 2017-12-01 13:41:45 -0600 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2017-12-08 15:00:30 +0100 |
commit | 165611034621b0eda1a4747ea382600fed436437 (patch) | |
tree | 271eff08b4c4353cb79a206723f0b9dc5d160416 /lib | |
parent | 3c427d0f4fcca91a661d85d21cdea89d41271c6c (diff) | |
download | libnl-165611034621b0eda1a4747ea382600fed436437.tar.gz |
tests: fix bug in test-create-bridge.c
The call to rtnl_link_get_master() at the end of the example can
misleadingly fail because the nl_cache isn't refilled after adding the
test interface to the test bridge.
This commit changes the example to refill the cache before calling
rtnl_link_get_master().
https://github.com/thom311/libnl/pull/158
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions