]> git.proxmox.com Git - mirror_iproute2.git/blobdiff - genl/genl.c
replace SNAPSHOT with auto-generated version string
[mirror_iproute2.git] / genl / genl.c
index aba3c13afd3496a8c583c7888c370a7b3072e1b2..6557e6bc6ce6562665ea2d9b903c4ea58ecef7ec 100644 (file)
@@ -22,7 +22,7 @@
 #include <errno.h>
 #include <linux/netlink.h>
 #include <linux/rtnetlink.h> /* until we put our own header */
-#include "SNAPSHOT.h"
+#include "version.h"
 #include "utils.h"
 #include "genl_utils.h"
 
@@ -118,7 +118,7 @@ int main(int argc, char **argv)
                } else if (matches(argv[1], "-raw") == 0) {
                        ++show_raw;
                } else if (matches(argv[1], "-Version") == 0) {
-                       printf("genl utility, iproute2-ss%s\n", SNAPSHOT);
+                       printf("genl utility, iproute2-%s\n", version);
                        exit(0);
                } else if (matches(argv[1], "-help") == 0) {
                        usage();