1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-12 07:27:57 +00:00

Fix tossing, when `packet' in passwd defined.

This commit is contained in:
Andrey Slusar 2007-01-29 10:55:59 +00:00
parent c52c749ce2
commit 65cbff6efe
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=183611
2 changed files with 12 additions and 1 deletions

View File

@ -6,7 +6,7 @@
PORTNAME= fidogate
PORTVERSION= 5.1.6
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= news mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= rusfidogate

View File

@ -0,0 +1,11 @@
--- src/toss/ftntoss.c.orig Mon Jan 29 12:53:14 2007
+++ src/toss/ftntoss.c Mon Jan 29 12:53:22 2007
@@ -882,7 +882,7 @@
#endif /* !SECURITY */
if (NULL != (pwd = passwd_lookup("packet", &msg->node_from)) &&
- !stricmp(pkt->passwd, pwd->passwd))
+ stricmp(pkt->passwd, pwd->passwd))
{
fglog("Insecure echomail packet from %s, area %s (%s pkt password)",
znfp1(&msg->node_from), areaname,