From: Daniel Wagner <[email protected]>
If the user provides the match all rule we should add the policy
bearer to the result.
---
src/session.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/session.c b/src/session.c
index a896503..e0de530 100644
--- a/src/session.c
+++ b/src/session.c
@@ -455,6 +455,9 @@ static int filter_bearer(GSList *policy_bearers,
for (it = policy_bearers; it != NULL; it = it->next) {
policy = GPOINTER_TO_INT(it->data);
+ if (bearer == CONNMAN_SERVICE_TYPE_UNKNOWN)
+ goto clone;
+
if (policy != CONNMAN_SERVICE_TYPE_UNKNOWN && policy != bearer)
continue;
--
1.7.11.7
_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman