Send connman mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.01.org/mailman/listinfo/connman
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of connman digest..."
Today's Topics:
1. [PATCH] service: Fix loose mode routing not enabled with
EnableOnlineCheck option (Deroire, Guillaume)
----------------------------------------------------------------------
Message: 1
Date: Fri, 14 Jul 2017 14:20:40 +0000
From: "Deroire, Guillaume" <[email protected]>
To: "[email protected]" <[email protected]>
Subject: [PATCH] service: Fix loose mode routing not enabled with
EnableOnlineCheck option
Message-ID:
<co2pr07mb5706870206c1db68169c8b39c...@co2pr07mb570.namprd07.prod.outlook.com>
Content-Type: text/plain; charset="iso-8859-1"
When EnableOnlineCheck option is enabled, the rp_filter is not updated
if there are more than one service available. The result is that some
packets are blocked.
---
src/service.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/service.c b/src/service.c
index aff800c..292ed88 100644
--- a/src/service.c
+++ b/src/service.c
@@ -5992,7 +5992,6 @@ int __connman_service_ipconfig_indicate_state(struct
connman_service *service,
if (connman_setting_get_bool("EnableOnlineCheck"))
if (type == CONNMAN_IPCONFIG_TYPE_IPV4) {
check_proxy_setup(service);
- service_rp_filter(service, true);
} else {
service->online_check_count = 1;
__connman_wispr_start(service, type);
@@ -6000,6 +5999,9 @@ int __connman_service_ipconfig_indicate_state(struct
connman_service *service,
else
connman_info("Online check disabled. "
"Default service remains in READY state.");
+ if (type == CONNMAN_IPCONFIG_TYPE_IPV4) {
+ service_rp_filter(service, true);
+ }
break;
case CONNMAN_SERVICE_STATE_ONLINE:
break;
--
2.7.4
Please be advised that this email may contain confidential information. If you
are not the intended recipient, please notify us by email by replying to the
sender and delete this message. The sender disclaims that the content of this
email constitutes an offer to enter into, or the acceptance of, any agreement;
provided that the foregoing does not invalidate the binding effect of any
digital or other electronic reproduction of a manual signature that is included
in any attachment.
------------------------------
Subject: Digest Footer
_______________________________________________
connman mailing list
[email protected]
https://lists.01.org/mailman/listinfo/connman
------------------------------
End of connman Digest, Vol 21, Issue 4
**************************************