diff options
author | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2011-02-03 13:05:22 +0100 |
---|---|---|
committer | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2011-02-03 13:05:22 +0100 |
commit | 8d3ea3476cec69b31423e34bc5b7576198c37668 (patch) | |
tree | 9f042ecafb922c04e99613dc716b8062e6a9bfe2 /src/ipset.c | |
parent | bc76594d91f3953d676201e3f06534338ab01524 (diff) |
Print protocol version together with ipset version
Diffstat (limited to 'src/ipset.c')
-rw-r--r-- | src/ipset.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ipset.c b/src/ipset.c index 634ad90..05f8ef3 100644 --- a/src/ipset.c +++ b/src/ipset.c @@ -553,7 +553,8 @@ parse_commandline(int argc, char *argv[]) argv[1]); return exit_error(PARAMETER_PROBLEM, "No command specified."); case IPSET_CMD_VERSION: - printf("%s v%s.\n", program_name, program_version); + printf("%s v%s, protocol version: %u\n", + program_name, program_version, IPSET_PROTOCOL); if (interactive) return 0; return exit_error(NO_PROBLEM, NULL); |