summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@osdl.org>2005-11-03 13:49:01 -0800
committerArnaldo Carvalho de Melo <acme@mandriva.com>2005-11-05 20:59:21 -0200
commiteb229c4cdc3389682cda20adb015ba767950a220 (patch)
tree52f65b2e3d781a09ae341e2e89e8a7dbe0f5f537 /net
parent300ce174ebc2fcf2b5111a50fa42f79d891927dd (diff)
downloadblackbird-op-linux-eb229c4cdc3389682cda20adb015ba767950a220.tar.gz
blackbird-op-linux-eb229c4cdc3389682cda20adb015ba767950a220.zip
[NETEM]: Add version string
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>
Diffstat (limited to 'net')
-rw-r--r--net/sched/sch_netem.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/sched/sch_netem.c b/net/sched/sch_netem.c
index 7c10ef3457d7..cdc8d283791c 100644
--- a/net/sched/sch_netem.c
+++ b/net/sched/sch_netem.c
@@ -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)
OpenPOWER on IntegriCloud