mirror of
git://git.code.sf.net/p/xtables-addons/xtables-addons
synced 2025-09-07 21:25:12 +02:00
iface: dissolve module name/revision macros
The module name will unlikely be changing anytime soon. And if the revision increases, we cannot just bump the number (well, in Xtables-addons we can, but it would not be the case for the core kernel). So let's not get into bad habits.
This commit is contained in:
@@ -58,8 +58,8 @@ static bool xt_iface_mt(const struct sk_buff *skb,
|
||||
|
||||
static struct xt_match xt_iface_mt_reg[] __read_mostly = {
|
||||
{
|
||||
.name = _MODULE_NAME,
|
||||
.revision = _MODULE_REVISION,
|
||||
.name = "iface",
|
||||
.revision = 0,
|
||||
.family = NFPROTO_IPV4,
|
||||
.matchsize = XT_ALIGN(sizeof(struct xt_iface_mtinfo)),
|
||||
.match = xt_iface_mt,
|
||||
@@ -67,8 +67,8 @@ static struct xt_match xt_iface_mt_reg[] __read_mostly = {
|
||||
.me = THIS_MODULE,
|
||||
},
|
||||
{
|
||||
.name = _MODULE_NAME,
|
||||
.revision = _MODULE_REVISION,
|
||||
.name = "iface",
|
||||
.revision = 0,
|
||||
.family = NFPROTO_IPV6,
|
||||
.matchsize = XT_ALIGN(sizeof(struct xt_iface_mtinfo)),
|
||||
.match = xt_iface_mt,
|
||||
|
Reference in New Issue
Block a user