From e7ca6c259a5bd362318c400b9b761b3676ec0999 Mon Sep 17 00:00:00 2001 From: Honza Petrous <hop@unibase.cz> Date: Thu, 2 Oct 1997 20:13:59 +0200 Subject: [PATCH] Applied patch by Honza Petrous <hop@unibase.cz>. Rev: src/modules/spider/dumudp.c:1.22 --- src/modules/spider/dumudp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/modules/spider/dumudp.c b/src/modules/spider/dumudp.c index fde65a8e80..aa2f616c99 100644 --- a/src/modules/spider/dumudp.c +++ b/src/modules/spider/dumudp.c @@ -1,7 +1,7 @@ #include <config.h> #include "global.h" -RCSID("$Id: dumudp.c,v 1.21 1997/09/29 21:09:41 marcus Exp $"); +RCSID("$Id: dumudp.c,v 1.22 1997/10/02 18:13:59 grubba Exp $"); #include "interpret.h" #include "svalue.h" #include "stralloc.h" @@ -114,6 +114,7 @@ static void udp_bind(INT32 args) } addr.sin_port = htons( ((u_short)sp[-args].u.integer) ); + addr.sin_family = AF_INET; tmp=bind(fd, (struct sockaddr *)&addr, sizeof(addr))<0; -- GitLab