ice: fix USE_CAND, always use 4 attributes

This commit is contained in:
Alfred E. Heggestad 2011-03-04 10:25:14 +00:00
parent fc0f44462a
commit 38256d469e

View file

@ -280,7 +280,7 @@ int icem_conncheck_send(struct candpair *cp, bool use_cand, bool trigged)
STUN_METHOD_BINDING,
(uint8_t *)icem->rpwd, str_len(icem->rpwd),
true, stunc_resp_handler, cp,
3 + !!use_cand,
4,
STUN_ATTR_USERNAME, username_buf,
STUN_ATTR_PRIORITY, &prio_prflx,
ctrl_attr, &ice->tiebrk,