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

Add get_name to netif driver #1053

Conversation

dovholuknf
Copy link
Member

add get_name to the driver per request from the previous PR

@dovholuknf dovholuknf requested a review from a team as a code owner December 3, 2024 16:50
@dovholuknf dovholuknf changed the title Add identity from url cert key get name Add get_name to netif driver Dec 3, 2024
programs/ziti-edge-tunnel/netif_driver/windows/tun.c Outdated Show resolved Hide resolved
size_t tun_name_len = wcslen(tun_name);
char* name = calloc(tun_name_len, sizeof(char) + 1);
wcstombs(name, tun_name, tun_name_len + 1);
set_tun_name(name); //sets the tunnel status, tun name...
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we still want to set tnl_status.TunName?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

gah. yes. i meant to put that back. thank you for reminding me!

@dovholuknf dovholuknf merged commit 2c85a88 into add-identity-from-url-cert-key Dec 3, 2024
2 checks passed
@dovholuknf dovholuknf deleted the add-identity-from-url-cert-key-get-name branch December 3, 2024 22:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants