patch-1.3.36 linux/net/socket.c
Next file: linux/scripts/Configure
Previous file: linux/net/netrom/nr_route.c
Back to the patch index
Back to the overall index
- Lines: 32
- Date:
Tue Oct 17 13:42:37 1995
- Orig file:
v1.3.35/linux/net/socket.c
- Orig date:
Tue Oct 10 18:46:39 1995
diff -u --recursive --new-file v1.3.35/linux/net/socket.c linux/net/socket.c
@@ -63,6 +63,7 @@
#include <linux/interrupt.h>
#include <linux/netdevice.h>
#include <linux/proc_fs.h>
+#include <linux/firewall.h>
#include <net/netlink.h>
@@ -1287,7 +1288,7 @@
{
int i;
- printk("Swansea University Computer Society NET3.031 Snap #3 for Linux 1.3.30\n");
+ printk("Swansea University Computer Society NET3.032 for Linux 1.3.35\n");
/*
* Initialize all address (protocol) families.
@@ -1308,6 +1309,14 @@
#if defined(CONFIG_RTNETLINK)
netlink_attach(NETLINK_ROUTE, netlink_donothing);
+#endif
+
+ /*
+ * Attach the firewall module if configured
+ */
+
+#ifdef CONFIG_FIREWALL
+ fwchain_init();
#endif
/*
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this