mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-11-26 19:39:53 +03:00
Merge PR #566: HubName has to be set after Copy
This commit is contained in:
commit
4b58f3f2e4
@ -7392,8 +7392,8 @@ UINT StGetSecureNATOption(ADMIN *a, VH_OPTION *t)
|
|||||||
}
|
}
|
||||||
|
|
||||||
Zero(t, sizeof(VH_OPTION));
|
Zero(t, sizeof(VH_OPTION));
|
||||||
StrCpy(t->HubName, sizeof(t->HubName), hubname);
|
|
||||||
Copy(t, h->SecureNATOption, sizeof(VH_OPTION));
|
Copy(t, h->SecureNATOption, sizeof(VH_OPTION));
|
||||||
|
StrCpy(t->HubName, sizeof(t->HubName), h->Name);
|
||||||
t->ApplyDhcpPushRoutes = true;
|
t->ApplyDhcpPushRoutes = true;
|
||||||
|
|
||||||
ReleaseHub(h);
|
ReleaseHub(h);
|
||||||
|
Loading…
Reference in New Issue
Block a user