]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
call it "affinity_id"
authorAlan T. DeKok <aland@freeradius.org>
Mon, 9 Jun 2025 14:53:12 +0000 (10:53 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Mon, 9 Jun 2025 14:53:12 +0000 (10:53 -0400)
src/main/realms.c

index 133fa8dd94a1c6bd44018c57f77f28c7e5385d2b..01e31c6977cf5b14bf9541c3577ec02034fc4d82 100644 (file)
@@ -532,7 +532,7 @@ static CONF_PARSER home_server_config[] = {
        { "username", FR_CONF_OFFSET(PW_TYPE_STRING | PW_TYPE_NOT_EMPTY, home_server_t, ping_user_name), NULL },
        { "password", FR_CONF_OFFSET(PW_TYPE_STRING | PW_TYPE_NOT_EMPTY, home_server_t, ping_user_password), NULL },
 
-       { "affinity", FR_CONF_OFFSET(PW_TYPE_INTEGER, home_server_t, affinity), NULL},
+       { "affinity_id", FR_CONF_OFFSET(PW_TYPE_INTEGER, home_server_t, affinity), NULL},
 
 #ifdef WITH_STATS
        { "historic_average_window", FR_CONF_OFFSET(PW_TYPE_INTEGER, home_server_t, ema.window), NULL },
@@ -637,7 +637,7 @@ void realm_home_server_sanitize(home_server_t *home, CONF_SECTION *cs)
                home->parent_server = cf_section_name2(parent);
        }
 
-       FR_INTEGER_BOUND_CHECK("affinity", home->affinity, <=, 255);
+       FR_INTEGER_BOUND_CHECK("affinity_id", home->affinity, <=, 255);
 }
 
 /** Insert a new home server into the various internal lookup trees