summaryrefslogtreecommitdiff
path: root/gr-blocks/include/gnuradio/blocks/udp_source.h
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2015-03-08 22:06:28 -0700
committerTom Rondeau <tom@trondeau.com>2015-03-13 09:23:14 -0400
commit854ff515b60cbacffffb0f9bdef07a031d666dc4 (patch)
tree5e1ebdafb64a21065e0def0a50c987993651522e /gr-blocks/include/gnuradio/blocks/udp_source.h
parent41f1ba4171b74354ab25cf066451d8ba940d9ec4 (diff)
blocks: Fixed UDP source bug
Before, it would actually read too few bytes from the incoming buffer. Also removed some 'magic' constants and replaced by const variables.
Diffstat (limited to 'gr-blocks/include/gnuradio/blocks/udp_source.h')
-rw-r--r--gr-blocks/include/gnuradio/blocks/udp_source.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gr-blocks/include/gnuradio/blocks/udp_source.h b/gr-blocks/include/gnuradio/blocks/udp_source.h
index 67c31a7c60..d1b4062b79 100644
--- a/gr-blocks/include/gnuradio/blocks/udp_source.h
+++ b/gr-blocks/include/gnuradio/blocks/udp_source.h
@@ -1,6 +1,6 @@
/* -*- c++ -*- */
/*
- * Copyright 2007-2010,2013 Free Software Foundation, Inc.
+ * Copyright 2007-2010,2013,2015 Free Software Foundation, Inc.
*
* This file is part of GNU Radio
*
@@ -43,7 +43,7 @@ namespace gr {
* \brief UDP Source Constructor
*
* \param itemsize The size (in bytes) of the item datatype
- * \param host The name or IP address of the receiving host; can be
+ * \param host The name or IP address of the transmitting host; can be
* NULL, None, or "0.0.0.0" to allow reading from any
* interface on the host
* \param port The port number on which to receive data; use 0 to