Skip to content

Commit

Permalink
fix the compilation error
Browse files Browse the repository at this point in the history
I deleted *way* too much text.

Re-add the necessary bit.
  • Loading branch information
ayourtch committed Jul 2, 2024
1 parent 03c14bf commit 52f50fc
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions nat46/modules/nat46-module.c
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,13 @@ static void __net_exit nat46_ns_exit(struct net *net)
}
}

static struct pernet_operations nat46_netops = {
.init = nat46_ns_init,
.exit = nat46_ns_exit,
.id = &nat46_netid,
.size = sizeof(struct nat46_nsdata),
};

static int __init nat46_init(void)
{
int ret = 0;
Expand Down

0 comments on commit 52f50fc

Please sign in to comment.