]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Fix const order
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Sat, 24 Nov 2018 17:21:17 +0000 (17:21 +0000)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Sat, 24 Nov 2018 17:41:20 +0000 (17:41 +0000)
src/bin/radsnmp.c

index 3b23274c5890d12e2fe15b33c2b9e3f2058969af..ebf9b0410c3b9f4d69fc9c0041587f94777f8cb2 100644 (file)
@@ -61,7 +61,7 @@ typedef enum {
        RADSNMP_EXIT                                    //!< Terminate gracefully.
 } radsnmp_command_t;
 
-static const FR_NAME_NUMBER radsnmp_command_str[] = {
+static FR_NAME_NUMBER const radsnmp_command_str[] = {
        { "PING",       RADSNMP_PING },                 //!< Liveness command from Net-SNMP
        { "get",        RADSNMP_GET },                  //!< Get the value of an OID.
        { "getnext",    RADSNMP_GETNEXT },              //!< Get the next OID in the tree.