diff options
author | Miklos Maroti <mmaroti@gmail.com> | 2017-08-31 21:19:37 -0500 |
---|---|---|
committer | Johnathan Corgan <johnathan@corganlabs.com> | 2017-09-22 15:04:06 -0700 |
commit | d8db58d7786b69a2562792e6836973ba7863ccb3 (patch) | |
tree | f8f644381c822b2106973a95bf28a346841a7471 | |
parent | d3643eb9f29c81ccce2034d92b6161956b4b7f41 (diff) |
tuntap_pdu: use MTU+14 byte receive buffer for TAP to be able to receive MTU sized IP frames
-rw-r--r-- | gr-blocks/lib/tuntap_pdu_impl.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gr-blocks/lib/tuntap_pdu_impl.cc b/gr-blocks/lib/tuntap_pdu_impl.cc index 391b33937a..7bd0889d5e 100644 --- a/gr-blocks/lib/tuntap_pdu_impl.cc +++ b/gr-blocks/lib/tuntap_pdu_impl.cc @@ -57,7 +57,7 @@ namespace gr { : block("tuntap_pdu", io_signature::make (0, 0, 0), io_signature::make (0, 0, 0)), - stream_pdu_base(MTU), + stream_pdu_base(istunflag ? MTU : MTU + 14), d_dev(dev), d_istunflag(istunflag) { |