[NETEM]: Add version string
authorStephen Hemminger <shemminger@osdl.org>
Thu, 3 Nov 2005 21:49:01 +0000 (13:49 -0800)
committerArnaldo Carvalho de Melo <acme@mandriva.com>
Sat, 5 Nov 2005 22:59:21 +0000 (20:59 -0200)
Add a version string to help support issues.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
net/sched/sch_netem.c

index 7c10ef3..cdc8d28 100644 (file)
@@ -25,6 +25,8 @@
 
 #include <net/pkt_sched.h>
 
+#define VERSION "1.1"
+
 /*     Network Emulation Queuing algorithm.
        ====================================
 
@@ -694,6 +696,7 @@ static struct Qdisc_ops netem_qdisc_ops = {
 
 static int __init netem_module_init(void)
 {
+       pr_info("netem: version " VERSION "\n");
        return register_qdisc(&netem_qdisc_ops);
 }
 static void __exit netem_module_exit(void)