Update to pen-0.9.5; from maintainer argp@ieee.org
This commit is contained in:
parent
71b9d7ba42
commit
661c14579b
@ -1,8 +1,8 @@
|
||||
# $OpenBSD: Makefile,v 1.4 2002/07/12 17:01:15 pvalchev Exp $
|
||||
# $OpenBSD: Makefile,v 1.5 2002/07/19 17:40:24 pvalchev Exp $
|
||||
|
||||
COMMENT= "load balancer for simple TCP-based protocols"
|
||||
|
||||
VERSION= 0.9.4
|
||||
VERSION= 0.9.5
|
||||
DISTNAME= pen-${VERSION}
|
||||
CATEGORIES= net
|
||||
HOMEPAGE= http://siag.nu/pen/
|
||||
|
@ -1,3 +1,3 @@
|
||||
MD5 (pen-0.9.4.tar.gz) = 4bb99fa4340a3c72cc4a2c4885884756
|
||||
RMD160 (pen-0.9.4.tar.gz) = 32faa0a6bdfb0eb2bc3f2a297b063b69e336e590
|
||||
SHA1 (pen-0.9.4.tar.gz) = 29c759905ea9def9cc74cd268b4794c06712ca2f
|
||||
MD5 (pen-0.9.5.tar.gz) = d5b717b03c24a4ff6aa515b283d7b46b
|
||||
RMD160 (pen-0.9.5.tar.gz) = 2ed87d3ab3ca6a709c49bb1ee84e6ce7bcca2d5d
|
||||
SHA1 (pen-0.9.5.tar.gz) = fc7d4661b8bfefbe8e6e59b3bf52d40129ae9da1
|
||||
|
@ -1,12 +0,0 @@
|
||||
$OpenBSD: patch-pen_c,v 1.3 2002/07/12 17:01:15 pvalchev Exp $
|
||||
--- pen.c.orig Wed Jul 10 19:26:49 2002
|
||||
+++ pen.c Fri Jul 12 10:59:24 2002
|
||||
@@ -1084,7 +1084,7 @@ static int open_listener(char *a)
|
||||
*p = '\0';
|
||||
port = getport(p+1);
|
||||
setipaddress(&serv_addr.sin_addr, b);
|
||||
- sprintf(b, inet_ntoa(serv_addr.sin_addr));
|
||||
+ snprintf(b, (sizeof(b) - 1), "%s", inet_ntoa(serv_addr.sin_addr));
|
||||
} else {
|
||||
port = getport(a);
|
||||
serv_addr.sin_addr.s_addr = htonl(INADDR_ANY);
|
Loading…
Reference in New Issue
Block a user