]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
add heap_id, and it's transport, not protocol
authorAlan T. DeKok <aland@freeradius.org>
Mon, 21 Nov 2016 13:53:58 +0000 (08:53 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Mon, 21 Nov 2016 14:01:23 +0000 (09:01 -0500)
src/util/channel.h

index 736cc7b9b769c87b296168c517f90ac1cd47dadb..97b827821311d696b7b154fe62678b45213fb772 100644 (file)
@@ -69,12 +69,13 @@ typedef struct fr_channel_data_t {
                 *      somewhere.  So we cache it in fields which are now unused.
                 */
                struct {
-                       fr_channel_t *ch;                       //!< channel where this messages was received
+                       fr_channel_t            *ch;            //!< channel where this messages was received
+                       int                     heap_id;        //!< for the various queues
                } channel;
        };
 
        void                    *ctx;           //!< packet context.  Usually socket information
-       uint32_t                protocol;       //!< protocol ID for this packet
+       uint32_t                transport;      //!< transport ID for this packet
 
        union {
                struct {