meta-digi/meta-digi-dey/recipes-connectivity/networkmanager
Javier Viguera c9b02d6288 networkmanager: connectivity check: set interface for DNS resolution
Use the same interface that it's being checked for the DNS resolution.

This makes connectivity check work in an scenario where the primary
interface has lost connectivity (for example ethernet) but you still
have connectivity through a secondary interface (e.g. wireless).

What happens in that case is that even though you have correct
connectivity in the secondary interface the check fails because it does
not use that secondary interface to resolve the name of the test URL.
The result is that the connectivity check assumes that this secondary
interface is also failing and it penalizes the metrics in the routing
table.

This commit uses libcurl's CURLOPT_DNS_INTERFACE to set the DNS
interface. Notice that this requires 'libcurl' to be compiled with
'--enable-ares'.

https://jira.digi.com/browse/DEL-4787

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-09-20 12:07:45 +02:00
..
networkmanager networkmanager: connectivity check: set interface for DNS resolution 2017-09-20 12:07:45 +02:00
networkmanager_%.bbappend networkmanager: connectivity check: set interface for DNS resolution 2017-09-20 12:07:45 +02:00
networkmanager_1.8.2.bb networkmanager: update package to version 1.8.2 2017-07-25 11:28:54 +02:00