Ignore flags
authorAlan T. DeKok <aland@freeradius.org>
Fri, 15 Aug 2014 12:04:44 +0000 (14:04 +0200)
committerAlan T. DeKok <aland@freeradius.org>
Fri, 15 Aug 2014 12:04:44 +0000 (14:04 +0200)
src/main/command.c

index 24cda5e..b682fe0 100644 (file)
@@ -434,7 +434,10 @@ static void cprint_conf_parser(rad_listen_t *listener, int indent, CONF_SECTION
                        data = (((char const *)base) + variables[i].offset);
                }
 
-               switch (variables[i].type) {
+               /*
+                *      Ignore the various flags
+                */
+               switch (variables[i].type & 0xff) {
                default:
                        cprintf(listener, "%.*s%s = ?\n", indent, tabs,
                                variables[i].name);