Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Config parser: allow dev tun<any string>, as in 'dev tunnel' or 'dev tunmir' #86

Merged
merged 1 commit into from
Oct 5, 2023

Conversation

hannesm
Copy link
Contributor

@hannesm hannesm commented Oct 4, 2023

Previously, only tun (with numeric in range 0..128) was allowed, which lead to issues. In the end, the dev-type is Tun if the name starts with 'tun', and Tap if the name starts with 'tap' -- otherwise the 'dev-type' has to be specified.

Fixes #43 #85

…tunmir'

Previously, only tun<numeric> (with numeric in range 0..128) was allowed, which
lead to issues. In the end, the dev-type is `Tun if the name starts with 'tun',
and `Tap if the name starts with 'tap' -- otherwise the 'dev-type' has to be
specified.

Fixes #43 #85
@reynir
Copy link
Contributor

reynir commented Oct 5, 2023

This works for me. I'm not sure what the CI error is about, but it seems unrelated. Thanks!

@reynir reynir merged commit 2fff017 into main Oct 5, 2023
4 of 5 checks passed
@reynir reynir deleted the fix-dev branch October 5, 2023 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

config parser fails when name of tun device is tunnel
2 participants