]> git.proxmox.com Git - mirror_iproute2.git/blobdiff - misc/lnstat.c
Merge branch 'main' into next
[mirror_iproute2.git] / misc / lnstat.c
index e3c8421194e9f5c91758a73c7eaae55b262b153d..89cb0e7e24672aa115709fcfa94be6ac10cf1b10 100644 (file)
@@ -38,6 +38,7 @@
 
 #include <json_writer.h>
 #include "lnstat.h"
+#include "version.h"
 
 static struct option opts[] = {
        { "version", 0, NULL, 'V' },
@@ -79,7 +80,7 @@ static int usage(char *name, int exit_code)
                "                               2 = every 20 lines (default))\n"
                "       -w --width n,n,n,...    Width for each field\n"
                "\n",
-               name, LNSTAT_VERSION);
+               name, version);
 
        exit(exit_code);
 }