summaryrefslogtreecommitdiff
path: root/stun/tools/stund.c
diff options
context:
space:
mode:
authorYouness Alaoui <youness.alaoui@collabora.co.uk>2009-02-23 17:40:45 -0500
committerYouness Alaoui <youness.alaoui@collabora.co.uk>2009-02-23 17:40:45 -0500
commit8b971219f411274077099b556670c22f970065dd (patch)
treeea3697ebe2797e1978c8f73fb2ae61bf2a888420 /stun/tools/stund.c
parent7d5a266740b6c2d18cda97e8caae9b988822672f (diff)
downloadlibnice-8b971219f411274077099b556670c22f970065dd.tar.gz
Rename stun_has_cookie into stun_message_has_cookie
Diffstat (limited to 'stun/tools/stund.c')
-rw-r--r--stun/tools/stund.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stun/tools/stund.c b/stun/tools/stund.c
index e36b64c..1ef10d8 100644
--- a/stun/tools/stund.c
+++ b/stun/tools/stund.c
@@ -250,7 +250,7 @@ static int dgram_process (int sock, StunAgent *oldagent, StunAgent *newagent)
{
case STUN_BINDING:
stun_agent_init_response (agent, &response, buf, sizeof (buf), &request);
- if (stun_has_cookie (&request))
+ if (stun_message_has_cookie (&request))
stun_message_append_xor_addr (&response,
STUN_ATTRIBUTE_XOR_MAPPED_ADDRESS,
mh.msg_name, mh.msg_namelen);