print summary if asked to do summary. Even without -x
authorAlan T. DeKok <aland@freeradius.org>
Sun, 5 Mar 2017 13:51:27 +0000 (08:51 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Sun, 5 Mar 2017 13:51:27 +0000 (08:51 -0500)
src/main/radclient.c

index 80ae279..dec841f 100644 (file)
@@ -1625,17 +1625,17 @@ int main(int argc, char **argv)
        dict_free();
 
        if (do_summary) {
-               DEBUG("Packet summary:\n"
-                     "\tAccepted      : %" PRIu64 "\n"
-                     "\tRejected      : %" PRIu64 "\n"
-                     "\tLost          : %" PRIu64 "\n"
-                     "\tPassed filter : %" PRIu64 "\n"
-                     "\tFailed filter : %" PRIu64,
-                     stats.accepted,
-                     stats.rejected,
-                     stats.lost,
-                     stats.passed,
-                     stats.failed
+               printf("Packet summary:\n"
+                      "\tAccepted      : %" PRIu64 "\n"
+                      "\tRejected      : %" PRIu64 "\n"
+                      "\tLost          : %" PRIu64 "\n"
+                      "\tPassed filter : %" PRIu64 "\n"
+                      "\tFailed filter : %" PRIu64,
+                      stats.accepted,
+                      stats.rejected,
+                      stats.lost,
+                      stats.passed,
+                      stats.failed
                );
        }