Support for 'extip' and 'smtp' parent types added

This commit is contained in:
z3APA3A committed 2016-02-05 01:52:45 +03:00
1 parent 9db88313c7
commit 3cc9796583
5 files changed
+18 -13

No files matched your search

+2 -2
View File
@@ -751,9 +751,9 @@ void srvinit2(struct srvparam * srv, struct clientparam *param){
memcpy(&param->sincr, &srv->intsa, sizeof(param->sincr));
memcpy(&param->sincl, &srv->intsa, sizeof(param->sincl));
#ifndef NOIPV6
memcpy(&param->sinsr, (srv->family == 6 || srv->family == 64)? (void *)&srv->extsa6: (void *)&srv->extsa, sizeof(param->sinsl));
memcpy(&param->sinsr, (srv->family == 6 || srv->family == 64)? (void *)&srv->extsa6: (void *)&srv->extsa, sizeof(param->sinsr));
#else
memcpy(&param->sinsr, &srv->extsa, sizeof(param->sinsl));
memcpy(&param->sinsr, &srv->extsa, sizeof(param->sinsr));
#endif
}