diff options
author | Josh Blum <josh@joshknows.com> | 2011-01-21 19:58:32 -0800 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2011-01-21 19:58:32 -0800 |
commit | cd5631ff194ae8b8ca6308286e44704785ef792a (patch) | |
tree | 72efa8926b019a3471ee1bfd5aea2519e19f9601 /host/lib/transport/udp_zero_copy_asio.cpp | |
parent | 0094cf683c6c96ca91ce8de0aa9c494b274f81ac (diff) | |
download | uhd-cd5631ff194ae8b8ca6308286e44704785ef792a.tar.gz uhd-cd5631ff194ae8b8ca6308286e44704785ef792a.tar.bz2 uhd-cd5631ff194ae8b8ca6308286e44704785ef792a.zip |
udp: revert depadding hack for recv_frame_size
Diffstat (limited to 'host/lib/transport/udp_zero_copy_asio.cpp')
-rw-r--r-- | host/lib/transport/udp_zero_copy_asio.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/transport/udp_zero_copy_asio.cpp b/host/lib/transport/udp_zero_copy_asio.cpp index 6d1a7413b..5c049cfad 100644 --- a/host/lib/transport/udp_zero_copy_asio.cpp +++ b/host/lib/transport/udp_zero_copy_asio.cpp @@ -94,7 +94,7 @@ public: const std::string &port, const device_addr_t &hints ): - _recv_frame_size(size_t(hints.cast<double>("recv_frame_size", udp_simple::mtu-4))), //TODO remove -4 when FPGA handles 2 byte pad correctly + _recv_frame_size(size_t(hints.cast<double>("recv_frame_size", udp_simple::mtu))), _num_recv_frames(size_t(hints.cast<double>("num_recv_frames", DEFAULT_NUM_RECV_FRAMES))), _send_frame_size(size_t(hints.cast<double>("send_frame_size", udp_simple::mtu))), _num_send_frames(size_t(hints.cast<double>("num_send_frames", DEFAULT_NUM_SEND_FRAMES))), |