diff options
author | Andrey Slusar <anray@FreeBSD.org> | 2007-01-29 10:55:59 +0000 |
---|---|---|
committer | Andrey Slusar <anray@FreeBSD.org> | 2007-01-29 10:55:59 +0000 |
commit | 65cbff6efe9cb8b646b5c8b4c9cda431af60ed70 (patch) | |
tree | 343eaa8367c5c464885432d4dbcc4df8fb153be9 /news/fidogate-ds/files | |
parent | c52c749ce281fa6a0ec2755a88fa1c4ff0259ff7 (diff) | |
download | ports-65cbff6efe9cb8b646b5c8b4c9cda431af60ed70.tar.gz ports-65cbff6efe9cb8b646b5c8b4c9cda431af60ed70.zip |
Fix tossing, when `packet' in passwd defined.
Notes
Notes:
svn path=/head/; revision=183611
Diffstat (limited to 'news/fidogate-ds/files')
-rw-r--r-- | news/fidogate-ds/files/patch-ftntoss.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/news/fidogate-ds/files/patch-ftntoss.c b/news/fidogate-ds/files/patch-ftntoss.c new file mode 100644 index 000000000000..3ce64bd5fe2d --- /dev/null +++ b/news/fidogate-ds/files/patch-ftntoss.c @@ -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, |