summaryrefslogtreecommitdiffstats
path: root/net/ipv6/ip6_fw.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1997-12-16 05:34:03 +0000
committerRalf Baechle <ralf@linux-mips.org>1997-12-16 05:34:03 +0000
commit967c65a99059fd459b956c1588ce0ba227912c4e (patch)
tree8224d013ff5d255420713d05610c7efebd204d2a /net/ipv6/ip6_fw.c
parente20c1cc1656a66a2773bca4591a895cbc12696ff (diff)
Merge with Linux 2.1.72, part 1.
Diffstat (limited to 'net/ipv6/ip6_fw.c')
-rw-r--r--net/ipv6/ip6_fw.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/net/ipv6/ip6_fw.c b/net/ipv6/ip6_fw.c
index 5a47cc251..ddce1ccfa 100644
--- a/net/ipv6/ip6_fw.c
+++ b/net/ipv6/ip6_fw.c
@@ -5,7 +5,7 @@
* Authors:
* Pedro Roque <roque@di.fc.ul.pt>
*
- * $Id: ip6_fw.c,v 1.5 1997/04/29 09:38:44 mj Exp $
+ * $Id: ip6_fw.c,v 1.7 1997/10/06 23:09:54 davem Exp $
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
@@ -13,6 +13,7 @@
* 2 of the License, or (at your option) any later version.
*/
+#include <linux/config.h>
#include <linux/errno.h>
#include <linux/types.h>
#include <linux/socket.h>
@@ -368,12 +369,16 @@ static void ip6_fw_destroy(struct flow_rule *rl)
__initfunc(void ip6_fw_init(void))
{
+#ifdef CONFIG_NETLINK
netlink_attach(NETLINK_IP6_FW, ip6_fw_msgrcv);
+#endif
}
#ifdef MODULE
void module_cleanup(void)
{
+#ifdef CONFIG_NETLINK
netlink_detach(NETLINK_IP6_FW);
+#endif
}
#endif