diff options
Diffstat (limited to 'udptl.c')
-rw-r--r-- | udptl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -971,7 +971,7 @@ static struct ast_udptl_protocol *get_proto(struct ast_channel *chan) cur = protos; while (cur) { - if (cur->type == chan->type) + if (cur->type == chan->tech->type) return cur; cur = cur->next; } |