diff options
Diffstat (limited to 'gr-blocks/lib/random_pdu_impl.h')
-rw-r--r-- | gr-blocks/lib/random_pdu_impl.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gr-blocks/lib/random_pdu_impl.h b/gr-blocks/lib/random_pdu_impl.h index 9cb34c775d..88b218f9f5 100644 --- a/gr-blocks/lib/random_pdu_impl.h +++ b/gr-blocks/lib/random_pdu_impl.h @@ -39,9 +39,10 @@ namespace gr { 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; + int d_length_modulo; public: - random_pdu_impl(int min_items, int max_items, char byte_mask); + random_pdu_impl(int min_items, int max_items, char byte_mask, int length_modulo); bool start(); void output_random(); |