mirror of
https://github.com/3proxy/3proxy.git
synced 2026-11-22 23:59:41 +08:00
Change -Do option to -De (external)
This commit is contained in:
1 parent
b033b150b1
commit
8c0dc7d8c9
2 files changed
+5
-5
No files matched your search
+3
-3
@@ -177,8 +177,8 @@ int MODULEMAINFUNC (int argc, char** argv){
|
||||
" -u2 always ask for username\n"
|
||||
#endif
|
||||
#ifdef SO_BINDTODEVICE
|
||||
" -Di(DEVICENAME) bind to incoming device, e.g. eth1\n"
|
||||
" -Do(DEVICENAME) bind to outgoing device, e.g. eth1\n"
|
||||
" -Di(DEVICENAME) bind internal interface to device, e.g. eth1\n"
|
||||
" -De(DEVICENAME) bind external interface to device, e.g. eth1\n"
|
||||
#endif
|
||||
#ifdef WITHSLICE
|
||||
" -s Use slice() - faster proxing, but no filtering for data\n"
|
||||
@@ -309,7 +309,7 @@ int MODULEMAINFUNC (int argc, char** argv){
|
||||
#ifdef SO_BINDTODEVICE
|
||||
case 'D':
|
||||
if(argv[i][2] == 'i') srv.ibindtodevice = mystrdup(argv[i] + 3);
|
||||
else if(argv[i][2] == 'o') srv.obindtodevice = mystrdup(argv[i] + 3);
|
||||
else srv.obindtodevice = mystrdup(argv[i] + 3);
|
||||
break;
|
||||
#endif
|
||||
case 'l':
|
||||
|
||||
Reference in new issue
Block a user