Skip to content

Commit

Permalink
Print NVTICACHE_STR.
Browse files Browse the repository at this point in the history
If option --scan-start passed to openvassd along with -V, it prints
the nvticache string used to identified the db in Redis.
This is used by ospd-openvas.
  • Loading branch information
jjnicola committed Sep 25, 2018
1 parent c5e9fba commit 95cdbff
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/openvassd.c
Original file line number Diff line number Diff line change
Expand Up @@ -1016,6 +1016,8 @@ main (int argc, char *argv[])
#ifdef OPENVASSD_GIT_REVISION
printf ("GIT revision %s\n", OPENVASSD_GIT_REVISION);
#endif
if (scan_id)
printf ("Using NVTI Cache version %s\n", NVTICACHE_STR);
printf
("Most new code since 2005: (C) 2016 Greenbone Networks GmbH\n");
printf
Expand Down

0 comments on commit 95cdbff

Please sign in to comment.