]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
set "ours" if we create State
authorAlan T. DeKok <aland@freeradius.org>
Thu, 1 Feb 2024 16:42:15 +0000 (11:42 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 1 Feb 2024 16:42:15 +0000 (11:42 -0500)
src/main/state.c

index 8857026a1559bcab0e0dabe2ab959df0224c61ab..d93d294596b906c1a68aa5ee6464284dca4c2ffb 100644 (file)
@@ -502,6 +502,8 @@ static state_entry_t *fr_state_entry_create(fr_state_t *state, REQUEST *request,
                        x = fr_rand();
                        memcpy(entry->state + (i * 4), &x, sizeof(x));
                }
+
+               entry->ours = true; /* we created it */
        }
 
        /*