Merge PR #566: HubName has to be set after Copy

This commit is contained in:
Davide Beatrici authored and GitHub committed 2018-07-21 05:11:05 +02:00
commit 4b58f3f2e4
1 file changed
+1 -1
+1 -1
View File
@@ -7392,8 +7392,8 @@ UINT StGetSecureNATOption(ADMIN *a, VH_OPTION *t)
}
Zero(t, sizeof(VH_OPTION));
StrCpy(t->HubName, sizeof(t->HubName), hubname);
Copy(t, h->SecureNATOption, sizeof(VH_OPTION));
StrCpy(t->HubName, sizeof(t->HubName), h->Name);
t->ApplyDhcpPushRoutes = true;
ReleaseHub(h);