* Add a warning message if some deprecated files are being used. If
authorhartwick <hartwick>
Sun, 15 Jun 2003 14:09:32 +0000 (14:09 +0000)
committerhartwick <hartwick>
Sun, 15 Jun 2003 14:09:32 +0000 (14:09 +0000)
  the files are not being used don't worry about the warning as the
  installation will be unaffected anyway.

src/main/client.c
src/main/files.c
src/main/nas.c

index 3a88346..765505a 100644 (file)
@@ -82,6 +82,7 @@ int read_clients_file(const char *file)
                   done. */
                return 0;
        }
+       radlog(L_INFO, "Using deprecated clients file.  Support for this will go away soon.");
 
        while(fgets(buffer, 256, fp) != NULL) {
                lineno++;
index 0aef69a..5436fe6 100644 (file)
@@ -342,6 +342,7 @@ int read_realms_file(const char *file)
                   So this is a non-fatal error.  */
                return 0;
        }
+       radlog(L_INFO, "Using deprecated realms file.  Support for this will go away soon.");
        while(fgets(buffer, 256, fp) != NULL) {
                lineno++;
                if (!feof(fp) && (strchr(buffer, '\n') == NULL)) {
index 0fab99a..f4d3490 100644 (file)
@@ -76,6 +76,7 @@ int read_naslist_file(char *file)
                   ignored. */
                return 0;
        }
+       radlog(L_INFO, "Using deprecated naslist file.  Support for this will go away soon.");
        while(fgets(buffer, 256, fp) != NULL) {
                lineno++;
                if (!feof(fp) && (strchr(buffer, '\n') == NULL)) {