summaryrefslogtreecommitdiff
path: root/net/spread
diff options
context:
space:
mode:
authorrecht <recht>2003-08-13 19:46:24 +0000
committerrecht <recht>2003-08-13 19:46:24 +0000
commit4632ce230999258aa7611e32deaf7565d01576a5 (patch)
treec37c0347eff1b8454551f2c73611d001aa9b9441 /net/spread
parentf906ad228a71c58ee14b88251357d36a88682d34 (diff)
downloadpkgsrc-4632ce230999258aa7611e32deaf7565d01576a5.tar.gz
Add a fix for multi homed configurations.
By Jonathan Stanton on spread-users@.
Diffstat (limited to 'net/spread')
-rw-r--r--net/spread/distinfo3
-rw-r--r--net/spread/patches/patch-bf24
2 files changed, 26 insertions, 1 deletions
diff --git a/net/spread/distinfo b/net/spread/distinfo
index 6d1f8cee27f..d73abc24755 100644
--- a/net/spread/distinfo
+++ b/net/spread/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.3 2003/08/09 13:07:41 recht Exp $
+$NetBSD: distinfo,v 1.4 2003/08/13 19:46:24 recht Exp $
SHA1 (spread-src-3.17.1.tar.gz) = c316370aa565ec76e67ed3c6bcceba1702395f56
Size (spread-src-3.17.1.tar.gz) = 290861 bytes
SHA1 (patch-ba) = 90f2896dc62627772a05c06add99c59a55e91c88
SHA1 (patch-bb) = efd9b08d775542622ce35265e2b72d655b5ca00f
SHA1 (patch-bd) = 5d09d5e182cb2bf52f6366ff02e4f73dcd067e5e
+SHA1 (patch-bf) = 6b5bf8086d6366ac9b52e7351c0c062f236e8c7d
diff --git a/net/spread/patches/patch-bf b/net/spread/patches/patch-bf
new file mode 100644
index 00000000000..78cb2ec1309
--- /dev/null
+++ b/net/spread/patches/patch-bf
@@ -0,0 +1,24 @@
+$NetBSD: patch-bf,v 1.1 2003/08/13 19:46:24 recht Exp $
+
+--- network.c.orig 2002-09-22 04:56:52.000000000 +0200
++++ network.c 2003-08-13 21:34:39.000000000 +0200
+@@ -90,6 +90,7 @@
+ proc dummy_proc;
+ int32u interface_addr;
+ int i;
++ bool bcast_bound = FALSE;
+
+ Cn = Conf();
+ My = Conf_my();
+@@ -125,8 +126,10 @@
+ interface_addr = 0;
+ else {
+ interface_addr = My.ifc[i].ip;
+- if (Bcast_needed)
++ if (Bcast_needed && !bcast_bound) {
+ Bcast_channel[Num_bcast_channels++] = DL_init_channel( RECV_CHANNEL, My.port, Bcast_address, Bcast_address );
++ bcast_bound = TRUE;
++ }
+ }
+ Bcast_channel[Num_bcast_channels++] = DL_init_channel( RECV_CHANNEL, My.port, Bcast_address, interface_addr );
+ Token_channel[Num_token_channels++] = DL_init_channel( RECV_CHANNEL, My.port+1, 0, interface_addr );