]> git.ozlabs.org Git - petitboot/commitdiff
discover/network: Add find_interface_by_uuid v1.2.5
authorSamuel Mendoza-Jonas <sam@mendozajonas.com>
Mon, 5 Sep 2016 04:22:07 +0000 (14:22 +1000)
committerSamuel Mendoza-Jonas <sam@mendozajonas.com>
Thu, 8 Sep 2016 05:05:23 +0000 (15:05 +1000)
Currently in network_register_device() and network_unregister_device()
the appropriate interface is searched for by name. However it is
possible in some scenarios for multiple interfaces to have the same
name, so instead search by UUID to be sure that the correct interface is
being selected.

Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
(cherry picked from commit 82b4c9d7ecbfada62295620a6082caf1b9860ff6)


No differences found