Only list one deprecated alternative to avoid users needing to change the config...
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 4 Jul 2013 22:08:41 +0000 (23:08 +0100)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 4 Jul 2013 22:08:41 +0000 (23:08 +0100)
src/modules/rlm_attr_filter/rlm_attr_filter.c
src/modules/rlm_detail/rlm_detail.c

index 1b1f555..d961949 100644 (file)
@@ -48,8 +48,6 @@ typedef struct rlm_attr_filter {
 static const CONF_PARSER module_config[] = {
        { "attrsfile",     PW_TYPE_FILE_INPUT | PW_TYPE_DEPRECATED,
          offsetof(rlm_attr_filter_t, filename), NULL, NULL},
-       { "file",     PW_TYPE_FILE_INPUT | PW_TYPE_DEPRECATED,
-         offsetof(rlm_attr_filter_t, filename), NULL, NULL},
        { "filename",     PW_TYPE_FILE_INPUT | PW_TYPE_REQUIRED,
          offsetof(rlm_attr_filter_t, filename), NULL, NULL},
        { "key",     PW_TYPE_STRING_PTR,
index 67859b0..17a3e09 100644 (file)
@@ -67,8 +67,6 @@ typedef struct detail_instance {
 static const CONF_PARSER module_config[] = {
        { "detailfile",    PW_TYPE_FILE_OUTPUT | PW_TYPE_DEPRECATED,
          offsetof(struct detail_instance,filename), NULL, NULL },
-       { "file",    PW_TYPE_FILE_OUTPUT | PW_TYPE_DEPRECATED,
-         offsetof(struct detail_instance,filename), NULL, NULL },
        { "filename",    PW_TYPE_FILE_OUTPUT | PW_TYPE_REQUIRED,
          offsetof(struct detail_instance,filename), NULL, "%A/%{Client-IP-Address}/detail" },
        { "header",    PW_TYPE_STRING_PTR,