[prev in list] [next in list] [prev in thread] [next in thread]
List: gnuradio-commit
Subject: [Commit-gnuradio] [gnuradio] 01/05: examples: enforce IPv4 in all example addresses
From: git () gnuradio ! org
Date: 2016-06-28 18:53:42
Message-ID: 20160628185342.7ECEE1A82A4 () hertz ! gnuradio ! org
[Download RAW message or body]
This is an automated email from the git hooks/post-receive script.
jcorgan pushed a commit to branch maint
in repository gnuradio.
commit da02832b0dc0b3ed8c882af375659b76c0aa8c06
Author: Jiří Pinkava <j-pi@seznam.cz>
Date: Sun Jun 26 03:01:19 2016 +0200
examples: enforce IPv4 in all example addresses
localhost might resolve to ::1 on IPv6 enabled hosts, but the client
is listening only on 0.0.0.0 (IPv4) addresses.
---
gnuradio-runtime/examples/network/audio_source.py | 2 +-
gnuradio-runtime/examples/network/dial_tone_source.py | 2 +-
gnuradio-runtime/examples/network/vector_source.py | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/gnuradio-runtime/examples/network/audio_source.py \
b/gnuradio-runtime/examples/network/audio_source.py index 577beff..881efff 100755
--- a/gnuradio-runtime/examples/network/audio_source.py
+++ b/gnuradio-runtime/examples/network/audio_source.py
@@ -41,7 +41,7 @@ class audio_source(gr.top_block):
if __name__ == '__main__':
parser = OptionParser(option_class=eng_option)
- parser.add_option("", "--host", type="string", default="localhost",
+ parser.add_option("", "--host", type="string", default="127.0.0.1",
help="Remote host name (domain name or IP address")
parser.add_option("", "--port", type="int", default=65500,
help="port number to connect to")
diff --git a/gnuradio-runtime/examples/network/dial_tone_source.py \
b/gnuradio-runtime/examples/network/dial_tone_source.py index 2606496..20c9a3b 100755
--- a/gnuradio-runtime/examples/network/dial_tone_source.py
+++ b/gnuradio-runtime/examples/network/dial_tone_source.py
@@ -53,7 +53,7 @@ class dial_tone_source(gr.top_block):
if __name__ == '__main__':
parser = OptionParser(option_class=eng_option)
- parser.add_option("", "--host", type="string", default="localhost",
+ parser.add_option("", "--host", type="string", default="127.0.0.1",
help="Remote host name (domain name or IP address")
parser.add_option("", "--port", type="int", default=65500,
help="port number to connect to")
diff --git a/gnuradio-runtime/examples/network/vector_source.py \
b/gnuradio-runtime/examples/network/vector_source.py index 568425f..c13b4b1 100755
--- a/gnuradio-runtime/examples/network/vector_source.py
+++ b/gnuradio-runtime/examples/network/vector_source.py
@@ -35,7 +35,7 @@ class vector_source(gr.top_block):
if __name__ == '__main__':
parser = OptionParser(option_class=eng_option)
- parser.add_option("", "--host", type="string", default="localhost",
+ parser.add_option("", "--host", type="string", default="127.0.0.1",
help="Remote host name (domain name or IP address")
parser.add_option("", "--port", type="int", default=65500,
help="port number to connect to")
_______________________________________________
Commit-gnuradio mailing list
Commit-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/commit-gnuradio
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic