aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xCREDITS3
-rwxr-xr-xacl.c4
2 files changed, 5 insertions, 2 deletions
diff --git a/CREDITS b/CREDITS
index 4ee9df741..2466d9339 100755
--- a/CREDITS
+++ b/CREDITS
@@ -39,6 +39,9 @@ Ross Finlayson - Dynamic RTP payload support
Mahmut Fettahlioglu - Audio recording, music-on-hold changes, alaw file
format, and various fixes. Can be contacted at mahmut@oa.com.au
+=== OTHER CONTRIBUTIONS ===
+John Todd - Monkey sounds and associated teletorture prompt
+
=== OTHER SOURCE CODE IN ASTERISK ===
I did not implement the codecs in asterisk. Here is the copyright on the
diff --git a/acl.c b/acl.c
index 60d7a36a0..6a4f4fdaa 100755
--- a/acl.c
+++ b/acl.c
@@ -118,6 +118,6 @@ int ast_get_ip(struct sockaddr_in *sin, char *value)
int inaddrcmp(struct sockaddr_in *sin1, struct sockaddr_in *sin2)
{
- return ((sin1->sin_addr.s_addr == sin2->sin_addr.s_addr )
- && (sin1->sin_port == sin2->sin_port));
+ return ((sin1->sin_addr.s_addr != sin2->sin_addr.s_addr )
+ || (sin1->sin_port != sin2->sin_port));
}