-N(NAT_address) option added for socks

This commit is contained in:
z3APA3A committed 2020-10-07 11:21:01 +03:00
1 parent d0725163d1
commit ebd7b34159
3 files changed
+8 -3

No files matched your search

+3
View File
@@ -346,6 +346,9 @@ int MODULEMAINFUNC (int argc, char** argv){
#endif
}
break;
case 'N':
getip46(46, (unsigned char *)argv[i]+2, (struct sockaddr *)&srv.extNat);
break;
case 'p':
*SAPORT(&srv.intsa) = htons(atoi(argv[i]+2));
break;