diff options
author | Stephen Hemminger <shemminger@osdl.org> | 2005-12-21 22:01:30 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-01-03 16:11:04 -0500 |
commit | 8cbb512e50fb702b5b1d444f76ebcdb53577b2ec (patch) | |
tree | 749abb8677bd19d56b7f4cf8dd34c41250b1b4e3 /net | |
parent | edb5e46fc03d0a45f2b41e3717631f7af7e9fc19 (diff) |
[BRIDGE]: add version number
Add version info to bridge module.
Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r-- | net/bridge/br.c | 1 | ||||
-rw-r--r-- | net/bridge/br_private.h | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/net/bridge/br.c b/net/bridge/br.c index f8f184942aaf..188cc1ac49eb 100644 --- a/net/bridge/br.c +++ b/net/bridge/br.c | |||
@@ -67,3 +67,4 @@ EXPORT_SYMBOL(br_should_route_hook); | |||
67 | module_init(br_init) | 67 | module_init(br_init) |
68 | module_exit(br_deinit) | 68 | module_exit(br_deinit) |
69 | MODULE_LICENSE("GPL"); | 69 | MODULE_LICENSE("GPL"); |
70 | MODULE_VERSION(BR_VERSION); | ||
diff --git a/net/bridge/br_private.h b/net/bridge/br_private.h index db7b26b8de96..c5bd631ffcd5 100644 --- a/net/bridge/br_private.h +++ b/net/bridge/br_private.h | |||
@@ -29,6 +29,8 @@ | |||
29 | 29 | ||
30 | #define BR_PORT_DEBOUNCE (HZ/10) | 30 | #define BR_PORT_DEBOUNCE (HZ/10) |
31 | 31 | ||
32 | #define BR_VERSION "2.1" | ||
33 | |||
32 | typedef struct bridge_id bridge_id; | 34 | typedef struct bridge_id bridge_id; |
33 | typedef struct mac_addr mac_addr; | 35 | typedef struct mac_addr mac_addr; |
34 | typedef __u16 port_id; | 36 | typedef __u16 port_id; |