summaryrefslogtreecommitdiff
path: root/stun/stunagent.c
diff options
context:
space:
mode:
authorOlivier CrĂȘte <olivier.crete@collabora.co.uk>2008-08-14 17:52:49 -0400
committerOlivier CrĂȘte <olivier.crete@collabora.co.uk>2008-08-14 18:23:04 -0400
commit2384704592435f10391f2cae1a5768b930d60db5 (patch)
treea71e42b51206da152a1039f9e326f5948407e16f /stun/stunagent.c
parentdda2143399533c3e82a68adc8db4a0e52e04ff8d (diff)
downloadlibnice-2384704592435f10391f2cae1a5768b930d60db5.tar.gz
Replace the SERVER attribute with the SOFTWARE attribute per draft 17
Diffstat (limited to 'stun/stunagent.c')
-rw-r--r--stun/stunagent.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/stun/stunagent.c b/stun/stunagent.c
index 2b8c8dc..9377c37 100644
--- a/stun/stunagent.c
+++ b/stun/stunagent.c
@@ -354,8 +354,8 @@ bool stun_agent_init_response (StunAgent *agent, StunMessage *msg,
stun_message_get_method (request), id)) {
if (agent->compatibility == STUN_COMPATIBILITY_3489BIS &&
- agent->usage_flags & STUN_AGENT_USAGE_ADD_SERVER) {
- stun_message_append_server (msg);
+ agent->usage_flags & STUN_AGENT_USAGE_ADD_SOFTWARE) {
+ stun_message_append_software (msg);
}
return TRUE;
}
@@ -386,8 +386,8 @@ bool stun_agent_init_error (StunAgent *agent, StunMessage *msg,
stun_message_get_method (request), id)) {
if (agent->compatibility == STUN_COMPATIBILITY_3489BIS &&
- agent->usage_flags & STUN_AGENT_USAGE_ADD_SERVER) {
- stun_message_append_server (msg);
+ agent->usage_flags & STUN_AGENT_USAGE_ADD_SOFTWARE) {
+ stun_message_append_software (msg);
}
if (stun_message_append_error (msg, err) == 0) {
return TRUE;