diff options
author | Stephen Hemminger <shemminger@osdl.org> | 2005-11-03 16:49:01 -0500 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@mandriva.com> | 2005-11-05 17:59:21 -0500 |
commit | eb229c4cdc3389682cda20adb015ba767950a220 (patch) | |
tree | 52f65b2e3d781a09ae341e2e89e8a7dbe0f5f537 /net/sched/sch_netem.c | |
parent | 300ce174ebc2fcf2b5111a50fa42f79d891927dd (diff) |
[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/sched/sch_netem.c')
-rw-r--r-- | net/sched/sch_netem.c | 3 |
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 @@ | |||
25 | 25 | ||
26 | #include <net/pkt_sched.h> | 26 | #include <net/pkt_sched.h> |
27 | 27 | ||
28 | #define VERSION "1.1" | ||
29 | |||
28 | /* Network Emulation Queuing algorithm. | 30 | /* Network Emulation Queuing algorithm. |
29 | ==================================== | 31 | ==================================== |
30 | 32 | ||
@@ -694,6 +696,7 @@ static struct Qdisc_ops netem_qdisc_ops = { | |||
694 | 696 | ||
695 | static int __init netem_module_init(void) | 697 | static int __init netem_module_init(void) |
696 | { | 698 | { |
699 | pr_info("netem: version " VERSION "\n"); | ||
697 | return register_qdisc(&netem_qdisc_ops); | 700 | return register_qdisc(&netem_qdisc_ops); |
698 | } | 701 | } |
699 | static void __exit netem_module_exit(void) | 702 | static void __exit netem_module_exit(void) |