aboutsummaryrefslogtreecommitdiffstats
path: root/src/link_udp.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2011-01-02 18:47:49 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2011-01-17 11:21:11 +0100
commit569f1e171df2f055d0be5fc637e050a523a9ae8a (patch)
tree889e8751a8b433332fb3c5673b1129feb8453445 /src/link_udp.c
parent346e1c4bc4266ad645aab88d6357518e17055fb3 (diff)
mtp: Rename mtp_link to mtp_link_set as this is the linkset
The link_udp is actually below the linkset. We need to get this right now and then can have multiple links.
Diffstat (limited to 'src/link_udp.c')
-rw-r--r--src/link_udp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/link_udp.c b/src/link_udp.c
index 7fcf6f1..e5e476c 100644
--- a/src/link_udp.c
+++ b/src/link_udp.c
@@ -113,7 +113,7 @@ static int udp_read_cb(struct bsc_fd *fd)
LOGP(DINP, LOGL_DEBUG, "MSU data on: %p data %s.\n", link, hexdump(msg->data, msg->len));
if (link->pcap_fd >= 0)
mtp_pcap_write_msu(link->pcap_fd, msg->l2h, msgb_l2len(msg));
- mtp_link_data(link->the_link, msg);
+ mtp_link_set_data(link->the_link, msg);
exit:
msgb_free(msg);