pre4ac1 bug-o :)

Carlos Morgado (l39801@alfa.ist.utl.pt)
Sun, 3 Jan 1999 13:31:20 +0000


Alan removed ip_masq_select_addr but forgot to remove the references :)

--- net/ipv4/ip_masq.c~ Sun Jan 3 11:56:08 1999
+++ net/ipv4/ip_masq.c Sun Jan 3 13:19:32 1999
@@ -368,7 +368,6 @@
EXPORT_SYMBOL(ip_masq_user_hook);
EXPORT_SYMBOL(ip_masq_m_tab);
EXPORT_SYMBOL(ip_masq_state_name);
-EXPORT_SYMBOL(ip_masq_select_addr);
EXPORT_SYMBOL(__ip_masq_lock);

/*

--- net/ipv4/ip_masq_user.c~ Sun Oct 4 18:21:45 1998
+++ net/ipv4/ip_masq_user.c Sun Jan 3 13:02:47 1999
@@ -100,7 +100,7 @@
return ret;
}
dev = rt->u.dst.dev;
- ums->maddr = ip_masq_select_addr(dev, rt->rt_gateway, RT_SCOPE_UNIVERSE);
+ ums->maddr = inet_select_addr(dev, rt->rt_gateway, RT_SCOPE_UNIVERSE);

IP_MASQ_DEBUG(1-debug, "did setup maddr=%lX\n", ntohl(ums->maddr));
ip_rt_put(rt);

cheers

-- 
Carlos Morgado - l39801@alfa.ist.utl.pt - http://alfa.ist.utl.pt/~c39801
PGP Key fingerprint = 43 BF 53 98 EB 32 F5 17  9E EB 77 1F 57 8C C6 83
[there is no .sig available at the moment - please hold]

----- End forwarded message -----

-- 
Carlos Morgado - l39801@alfa.ist.utl.pt - http://alfa.ist.utl.pt/~c39801
PGP Key fingerprint = 43 BF 53 98 EB 32 F5 17  9E EB 77 1F 57 8C C6 83
"So, if anybody wants to have hardware sent to them: don't call me, but
instead write your own unix operating system.  It has worked every time
for me." - Linus Torvalds, author of Linux (Unix-like) OS

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/