]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Move "type" into the legacy stuff area
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Fri, 8 Oct 2021 22:22:04 +0000 (17:22 -0500)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Fri, 8 Oct 2021 23:14:49 +0000 (18:14 -0500)
src/lib/util/pair.h

index de653adca9e0537d8aa3e013362a4f9685d4ed18..58969baa3263eb5842d8876ab32c7852eee6f496 100644 (file)
@@ -101,8 +101,6 @@ struct value_pair_s {
                                                                ///< received or inserted.
 
 
-       value_type_t            type;                           //!< Type of pointer in value union.
-
        /*
         *      Pairs can have children or data but not both.
         */
@@ -118,6 +116,8 @@ struct value_pair_s {
                fr_token_t              op;                     //!< Operator to use when moving or inserting
                                                                //!< valuepair into a list.
                char const              *xlat;                  //!< Source string for xlat expansion.
+
+               value_type_t            type;                   //!< Type of pointer in value union.
        };
 };