Fix a couple of regression
cover Fix a couple of regression
A bunch of fixes for the recentently reported regressions:
- https://lore.kernel.org/connman/[email protected]/T/#u
- https://lore.kernel.org/connman/[email protected]/
Daniel Wagner (2):
ipconfig: Do not filter out 0.0.0.0 gateway routes
main: Add Hamachi interface to ignore list
src/ipconfig.c | 2 +- src/main.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-)
Signature · 1 line
2.39.0
PATCH 1/2 ipconfig: Do not filter out 0.0.0.0 gateway routes
This reverts commit cb05780d86c3 ("ipconfig: Don't add invalid gateway routes") as it introduced regressions for IPv4LL setups.
0.0.0.0 is a valid gateway address for IPv4LL setups (see forwarding rules in RFC3927).
Reported by Geoffrey Van Landeghem <[email protected]>
--- src/ipconfig.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
src/ipconfig.c +1 -1
@@ -1172,7 +1172,7 @@ int __connman_ipconfig_gateway_add(struct connman_ipconfig *ipconfig)DBG ("" ); -if (!ipconfig->address || !ipconfig->address->gateway) +if (!ipconfig->address)return -EINVAL ; service =__connman_service_lookup_from_index (ipconfig->index);
Signature · 1 line
2.39.0
PATCH 2/2 main: Add Hamachi interface to ignore list
In reply to Daniel WagnerThe Hamachi VPN daemon setups a network interface calles 'ham0' which is under control of this daemon. ConnMan should ignore it and not starting to auto configure it.
Reported by: i.Dark_Templar <[email protected]>
--- src/main.c | 1 + 1 file changed, 1 insertion(+)
src/main.c +1 -0
@@ -78,6 +78,7 @@ static char *default_blacklist[] = {"ifb" ,"ve-" ,"vb-" , +"ham" , NULL };
Signature · 1 line
2.39.0
Quoted 8 lines · Daniel Wagner
A bunch of fixes for the recentently reported regressions:
- https://lore.kernel.org/connman/[email protected]/T/#u
- https://lore.kernel.org/connman/[email protected]/Daniel Wagner (2):
ipconfig: Do not filter out 0.0.0.0 gateway routes
main: Add Hamachi interface to ignore list
Both patches applied.