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:
Vladimir DubrovinandClaude Opus 5.5 committed 2026-10-13 15:36:23 +03:00
1 parent ca0b5e0c88
commit 18c0ebda0f
5 files changed
+6 -18

No files matched your search

+2 -2
View File
@@ -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;
}