summaryrefslogtreecommitdiff
path: root/udptl.c
diff options
context:
space:
mode:
Diffstat (limited to 'udptl.c')
-rw-r--r--udptl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udptl.c b/udptl.c
index d19bb89e2..01bfbd814 100644
--- a/udptl.c
+++ b/udptl.c
@@ -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;
}