diff options
author | Paul Garver <garverp@gatech.edu> | 2015-01-24 11:32:57 -0500 |
---|---|---|
committer | Paul Garver <garverp@gatech.edu> | 2015-01-24 11:32:57 -0500 |
commit | 844d2d76ae994bb051733cb73f0ddaa7175805cb (patch) | |
tree | cacc29fead62663bb054486a77db36c6fe703050 /gr-blocks/include | |
parent | 620817ede54bbb89bff449fccfc999c1e6e7887b (diff) |
gr-blocks: Make tap/tun configurable, fix GRC spec to be consistent with default flag of IFF_TAP
Diffstat (limited to 'gr-blocks/include')
-rw-r--r-- | gr-blocks/include/gnuradio/blocks/tuntap_pdu.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gr-blocks/include/gnuradio/blocks/tuntap_pdu.h b/gr-blocks/include/gnuradio/blocks/tuntap_pdu.h index 3a18a60c2f..a34bab0d83 100644 --- a/gr-blocks/include/gnuradio/blocks/tuntap_pdu.h +++ b/gr-blocks/include/gnuradio/blocks/tuntap_pdu.h @@ -43,8 +43,9 @@ namespace gr { * \brief Construct a TUNTAP PDU interface * \param dev Device name to create * \param MTU Maximum Transmission Unit size + * \param istunflag Flag to indicate TUN or Tap */ - static sptr make(std::string dev, int MTU=10000); + static sptr make(std::string dev, int MTU=10000, bool istunflag=false); }; } /* namespace blocks */ |