]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/options.c
pppd: Export $CALL_FILE to the link scripts (#196)
[ppp.git] / pppd / options.c
index 108e2b8c1197968f770bb3bb40bc560f9a53c19a..f8d6c001e195d5b64d671b535f58e2f9be7d3cb5 100644 (file)
@@ -1451,6 +1451,7 @@ callfile(char **argv)
     if ((fname = (char *) malloc(l)) == NULL)
        novm("call file name");
     slprintf(fname, l, "%s%s", _PATH_PEERFILES, arg);
+    script_setenv("CALL_FILE", arg, 0);
 
     ok = options_from_file(fname, 1, 1, 1);