summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-11-17 15:40:37 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-11-17 15:40:37 -0600
commit6bdb9882c5a0649542e97092e4789075673fca30 (patch)
treeedaf9eac14ff254472046ef2625f7db5527aae7f
parent1117846b864d3016a67d6130cf81a15b10bf085a (diff)
downloadnuttx-6bdb9882c5a0649542e97092e4789075673fca30.tar.gz
nuttx-6bdb9882c5a0649542e97092e4789075673fca30.tar.bz2
nuttx-6bdb9882c5a0649542e97092e4789075673fca30.zip
Due to limitations in port unique-ness, have to use unique port numbers in apps/examples/bridge for now
-rw-r--r--apps/examples/bridge/Kconfig4
-rw-r--r--nuttx/configs/sama5d4-ek/bridge/defconfig4
2 files changed, 4 insertions, 4 deletions
diff --git a/apps/examples/bridge/Kconfig b/apps/examples/bridge/Kconfig
index f3ee296be..bfcf9e7ed 100644
--- a/apps/examples/bridge/Kconfig
+++ b/apps/examples/bridge/Kconfig
@@ -105,13 +105,13 @@ config EXAMPLES_BRIDGE_NET2_IFNAME
config EXAMPLES_BRIDGE_NET2_RECVPORT
int "UDP receive port"
- default 5471
+ default 5473
---help---
Network 1 listen port number
config EXAMPLES_BRIDGE_NET2_SNDPORT
int "UDP send port"
- default 5472
+ default 5474
---help---
Network 2 send port number
diff --git a/nuttx/configs/sama5d4-ek/bridge/defconfig b/nuttx/configs/sama5d4-ek/bridge/defconfig
index fc40de796..193754534 100644
--- a/nuttx/configs/sama5d4-ek/bridge/defconfig
+++ b/nuttx/configs/sama5d4-ek/bridge/defconfig
@@ -853,8 +853,8 @@ CONFIG_EXAMPLES_BRIDGE_NET1_PRIORITY=100
# Network 2 configuration
#
CONFIG_EXAMPLES_BRIDGE_NET2_IFNAME="eth1"
-CONFIG_EXAMPLES_BRIDGE_NET2_RECVPORT=5471
-CONFIG_EXAMPLES_BRIDGE_NET2_SNDPORT=5472
+CONFIG_EXAMPLES_BRIDGE_NET2_RECVPORT=5473
+CONFIG_EXAMPLES_BRIDGE_NET2_SNDPORT=5474
CONFIG_EXAMPLES_BRIDGE_NET2_IOBUFIZE=1024
# CONFIG_EXAMPLES_BRIDGE_NET2_DHCPC is not set
CONFIG_EXAMPLES_BRIDGE_NET2_NOMAC=y