Skip to content

Commit

Permalink
dispatcher: fix socket selection
Browse files Browse the repository at this point in the history
- wrong variable was used for scanning the value stored in avp
  • Loading branch information
Sven Neuhaus authored and miconda committed Apr 15, 2015
1 parent ebf6483 commit 2835291
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/dispatcher/dispatch.c
Expand Up @@ -2092,7 +2092,7 @@ int ds_next_dst(struct sip_msg *msg, int mode)
if(sock_avp_name.n!=0)
{
prev_avp = search_first_avp(sock_avp_type,
attrs_avp_name, &avp_value, &st);
attrs_avp_name, &sock_avp_value, &st);
if(prev_avp!=NULL)
{
if (sscanf( sock_avp_value.s.s, "%p", (void**)&sock ) != 1)
Expand Down

0 comments on commit 2835291

Please sign in to comment.