patch-2.2.0-pre3 linux/net/ipv4/ip_masq.c
Next file: linux/net/ipv4/tcp_input.c
Previous file: linux/mm/vmscan.c
Back to the patch index
Back to the overall index
- Lines: 28
- Date:
Fri Jan 1 10:51:43 1999
- Orig file:
v2.2.0-pre2/linux/net/ipv4/ip_masq.c
- Orig date:
Fri Nov 27 13:09:31 1998
diff -u --recursive --new-file v2.2.0-pre2/linux/net/ipv4/ip_masq.c linux/net/ipv4/ip_masq.c
@@ -2232,13 +2232,6 @@
proc_unregister(proc_net_ip_masq, ent->low_ino);
}
-/*
- * Wrapper over inet_select_addr()
- */
-u32 ip_masq_select_addr(struct device *dev, u32 dst, int scope)
-{
- return inet_select_addr(dev, dst, scope);
-}
__initfunc(static void masq_proc_init(void))
{
@@ -2257,6 +2250,13 @@
}
}
#endif /* CONFIG_PROC_FS */
+/*
+ * Wrapper over inet_select_addr()
+ */
+u32 ip_masq_select_addr(struct device *dev, u32 dst, int scope)
+{
+ return inet_select_addr(dev, dst, scope);
+}
/*
* Initialize ip masquerading
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov