mirror of
https://github.com/3proxy/3proxy.git
synced 2026-11-22 23:59:41 +08:00
Remove dial on demand
dialer ran a program when a name could not be resolved, for dial-up links; with nscache it did not even run. The command is still accepted and ignored, so configurations using it keep loading. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
ca0b5e0c88
commit
18c0ebda0f
5 files changed
+6
-18
No files matched your search
+2
-2
@@ -757,9 +757,9 @@ static int h_nsrecord(int argc, unsigned char **argv){
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* dialer: running a program when a name does not resolve is gone; the
|
||||
command is still taken, and ignored, so configurations keep loading */
|
||||
static int h_dialer(int argc, unsigned char **argv){
|
||||
if(conf.demanddialprog) free(conf.demanddialprog);
|
||||
conf.demanddialprog = strdup((char *)argv[1]);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user