bridge: report correct version
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
This commit is contained in:
parent
8682f588bf
commit
7a49ff9d79
|
|
@ -141,7 +141,7 @@ main(int argc, char **argv)
|
||||||
if (matches(opt, "-help") == 0) {
|
if (matches(opt, "-help") == 0) {
|
||||||
usage();
|
usage();
|
||||||
} else if (matches(opt, "-Version") == 0) {
|
} else if (matches(opt, "-Version") == 0) {
|
||||||
printf("bridge utility, 0.0\n");
|
printf("bridge utility, %s\n", version);
|
||||||
exit(0);
|
exit(0);
|
||||||
} else if (matches(opt, "-stats") == 0 ||
|
} else if (matches(opt, "-stats") == 0 ||
|
||||||
matches(opt, "-statistics") == 0) {
|
matches(opt, "-statistics") == 0) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue