]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
unix-manager: fix output of version command
authorEric Leblond <eric@regit.org>
Wed, 14 Sep 2016 13:09:47 +0000 (15:09 +0200)
committerVictor Julien <victor@inliniac.net>
Mon, 19 Sep 2016 06:20:05 +0000 (08:20 +0200)
Make it consistent with the output of version command line flag.

src/unix-manager.c

index 919651cce887b53c59d294941cbd32b770ce6599..bb6eef6756b0de1762d040beb790b7bf306e6f4b 100644 (file)
@@ -662,7 +662,7 @@ TmEcode UnixManagerVersionCommand(json_t *cmd,
     SCEnter();
     json_object_set_new(server_msg, "message", json_string(
 #ifdef REVISION
-                        PROG_VER  xstr(REVISION)
+                        PROG_VER " (rev "  xstr(REVISION) ")"
 #elif defined RELEASE
                         PROG_VER " RELEASE"
 #else