Skip to content

Conversation

siddharth-narayan
Copy link
Contributor

@siddharth-narayan siddharth-narayan commented Jul 17, 2024

Fixes #2031

Running vpnclient.exe fails because ms->IsNt is never set to true. This seems to be old code from the stable branch that was never changed to IsNt().

This pull request changes changes ms->IsNt to IsNt(), and removes IsNt from the MS struct, because it is no longer necessary.

@siddharth-narayan
Copy link
Contributor Author

I've added the fix for the NicCreate error code 31 that I mentioned briefly in the issue. The problem was that vpncmgr.exe starts up a ui helper using the /uihelp argument which handles some functions that it should not be handling. I think vpnclient.exe should be adding in the vlan itself instead of delegating the task to the uihelp process. It doesn't really make sense and seems like bad practice to have the gui doing things that the backend should be able to do. Fixing that issue requires fixing the entire client notification system, so instead I just added the uihelp process to vpncmd.exe as well.

@siddharth-narayan siddharth-narayan marked this pull request as ready for review August 15, 2024 08:42
@chipitsine
Copy link
Member

chipitsine commented Aug 15, 2024 via email

@siddharth-narayan siddharth-narayan changed the title Fix incorrect "Not on NT" error messages Fix "Not on NT" error message and add uihelp to vpncmd Sep 4, 2024
@siddharth-narayan
Copy link
Contributor Author

Is there any update?

@chipitsine
Copy link
Member

not yet. sorry
hopefully this week

@siddharth-narayan
Copy link
Contributor Author

No problem, I don't mind :)

@chipitsine chipitsine merged commit e94240d into SoftEtherVPN:master Sep 21, 2024
13 checks passed
@chipitsine
Copy link
Member

sorry for delay.
thank you for contribution!

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.

Build from source on Windows completely broken?
2 participants