Changeset 711


Ignore:
Timestamp:
Sep 13, 2006 9:56:11 PM (18 years ago)
Author:
bennylp
Message:

Fix STUN client when handling unknown attributes. Before it failed the transaction, now it simply just ignores it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib-util/src/pjlib-util/stun.c

    r217 r711  
    9797 
    9898        if (pj_ntohs((*attr)->type) > PJ_STUN_ATTR_REFLECTED_FORM) { 
    99             PJ_LOG(4,(THIS_FILE, "Error: invalid attr type %d in attr %d", 
     99            PJ_LOG(5,(THIS_FILE, "Warning: unknown attr type %x in attr %d. " 
     100                                 "Attribute was ignored.", 
    100101                                 pj_ntohs((*attr)->type), msg->attr_count)); 
    101             return PJLIB_UTIL_ESTUNINATTRTYPE; 
    102102        } 
    103103 
Note: See TracChangeset for help on using the changeset viewer.