diff options
author | Joe Hershberger <joe.hershberger@ni.com> | 2012-07-31 06:06:41 +0000 |
---|---|---|
committer | Joe Hershberger <joe.hershberger@ni.com> | 2012-09-24 13:17:24 -0500 |
commit | 7f51898c1b170e0036e6931a17ada46e2b4fd52e (patch) | |
tree | 7a7d89b028823b905401395dc7dcfc0b5da38761 /doc/README.NetConsole | |
parent | ee1f4caaa2a3f79d692155eec8a4c7289d60e106 (diff) | |
download | u-boot-imx-7f51898c1b170e0036e6931a17ada46e2b4fd52e.zip u-boot-imx-7f51898c1b170e0036e6931a17ada46e2b4fd52e.tar.gz u-boot-imx-7f51898c1b170e0036e6931a17ada46e2b4fd52e.tar.bz2 |
net: Make netconsole src and dest ports configurable
It is desirable to use different port numbers for sending and receiving
packets with netconsole in the case where you have more than one device
on the local subnet with netconsole enabled for broadcast. When they
use the same port for both, any output from one will look like input to
the other. This is typlically not desirable.
This patch allows the input and output ports to be specified separately
in the environment.
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Cc: Mike Frysinger <vapier@gentoo.org>
Acked-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'doc/README.NetConsole')
-rw-r--r-- | doc/README.NetConsole | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/README.NetConsole b/doc/README.NetConsole index c8bcb90..070e86a 100644 --- a/doc/README.NetConsole +++ b/doc/README.NetConsole @@ -11,6 +11,9 @@ port of the destination. The format is <ip_addr>:<port>. If <port> is omitted, the value of 6666 is used. If the env var doesn't exist, the broadcast address and port 6666 are used. If it is set to an IP address of 0 (or 0.0.0.0) then no messages are sent to the network. +The source / listening port can be configured separately by setting +the 'ncinport' environment variable and the destination port can be +configured by setting the 'ncoutport' environment variable. For example, if your server IP is 192.168.1.1, you could use: |