mirror of
https://github.com/torvalds/linux.git
synced 2024-11-24 21:21:41 +00:00
[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>
This commit is contained in:
parent
300ce174eb
commit
eb229c4cdc
@ -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 = {
|
|||||||
|
|
||||||
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)
|
||||||
|
Loading…
Reference in New Issue
Block a user