summaryrefslogtreecommitdiff
path: root/gr-blocks/lib/random_pdu_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'gr-blocks/lib/random_pdu_impl.h')
-rw-r--r--gr-blocks/lib/random_pdu_impl.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/gr-blocks/lib/random_pdu_impl.h b/gr-blocks/lib/random_pdu_impl.h
index 7d8aa23fbf..9cb34c775d 100644
--- a/gr-blocks/lib/random_pdu_impl.h
+++ b/gr-blocks/lib/random_pdu_impl.h
@@ -38,9 +38,10 @@ namespace gr {
boost::uniform_int<> d_brange;
boost::variate_generator< boost::mt19937, boost::uniform_int<> > d_rvar; // pdu length
boost::variate_generator< boost::mt19937, boost::uniform_int<> > d_bvar; // pdu contents
-
+ char d_mask;
+
public:
- random_pdu_impl(int min_items, int max_items);
+ random_pdu_impl(int min_items, int max_items, char byte_mask);
bool start();
void output_random();