patch-2.1.68 linux/net/ipv4/ip_masq_irc.c
Next file: linux/net/ipv4/ip_masq_quake.c
Previous file: linux/net/ipv4/ip_masq_ftp.c
Back to the patch index
Back to the overall index
-  Lines: 18
-  Date:
Sun Nov 30 14:00:39 1997
-  Orig file: 
v2.1.67/linux/net/ipv4/ip_masq_irc.c
-  Orig date: 
Tue May 13 22:41:23 1997
diff -u --recursive --new-file v2.1.67/linux/net/ipv4/ip_masq_irc.c linux/net/ipv4/ip_masq_irc.c
@@ -51,7 +51,7 @@
 }
 
 int
-masq_irc_out (struct ip_masq_app *mapp, struct ip_masq *ms, struct sk_buff **skb_p, struct device *dev)
+masq_irc_out (struct ip_masq_app *mapp, struct ip_masq *ms, struct sk_buff **skb_p, __u32 maddr)
 {
         struct sk_buff *skb;
 	struct iphdr *iph;
@@ -167,7 +167,7 @@
                  *	connection is requested by another client.
 		 */
 
-		n_ms = ip_masq_new(dev, IPPROTO_TCP,
+		n_ms = ip_masq_new(maddr, IPPROTO_TCP,
                                    htonl(s_addr),htons(s_port),
                                    0, 0,
                                    IP_MASQ_F_NO_DPORT|IP_MASQ_F_NO_DADDR
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov