提交 eb229c4c 编写于 作者: S Stephen Hemminger 提交者: Arnaldo Carvalho de Melo

[NETEM]: Add version string

Add a version string to help support issues.
Signed-off-by: NStephen Hemminger <shemminger@osdl.org>
Signed-off-by: NArnaldo Carvalho de Melo <acme@mandriva.com>
上级 300ce174
...@@ -25,6 +25,8 @@ ...@@ -25,6 +25,8 @@
#include <net/pkt_sched.h> #include <net/pkt_sched.h>
#define VERSION "1.1"
/* Network Emulation Queuing algorithm. /* Network Emulation Queuing algorithm.
==================================== ====================================
...@@ -694,6 +696,7 @@ static struct Qdisc_ops netem_qdisc_ops = { ...@@ -694,6 +696,7 @@ static struct Qdisc_ops netem_qdisc_ops = {
static int __init netem_module_init(void) static int __init netem_module_init(void)
{ {
pr_info("netem: version " VERSION "\n");
return register_qdisc(&netem_qdisc_ops); return register_qdisc(&netem_qdisc_ops);
} }
static void __exit netem_module_exit(void) static void __exit netem_module_exit(void)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册