Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
session: Expand '*' to all bearer types
Instead (ab)using CONNMAN_SERVICE_TYPE_UNKOWN to match against all bearer types we expand '*' while we parse the list of strings in AllowedBearers. We also simplify the error path because there is no point in it. All failing operation will lead to an abort (thanks GLibc).
- Loading branch information
Showing
1 changed file
with
36 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters