Flightaware dump1090 doesn't understand --net-bind-address, remove support for it.

This commit is contained in:
Oliver Jowett 2014-12-28 21:00:52 +00:00
parent a8ecdf5963
commit a7863c77e3
4 changed files with 0 additions and 33 deletions

View File

@ -91,11 +91,6 @@ NET_OUTPUT_RATE=
# TCP buffer size, in bytes
NET_BUFFER=
# Bind ports on a particular address. If unset, binds to all interfaces.
# This defaults to binding to localhost. If you need to allow remote
# connections, change this.
NET_BIND_ADDRESS=
#
# Misc options
#

View File

@ -41,7 +41,6 @@ if [ -e $CONFIGFILE ]; then
db_set $NAME/net-out-size "$NET_OUTPUT_SIZE"
db_set $NAME/net-out-rate "$NET_OUTPUT_RATE"
db_set $NAME/net-buffer "$NET_BUFFER"
db_set $NAME/net-bind-address "$NET_BIND_ADDRESS"
db_set $NAME/stats-interval "$STATS_INTERVAL"
db_set $NAME/extra-args "$EXTRA_ARGS"
@ -112,16 +111,6 @@ is_signed_int_or_empty() {
else return 1; fi
}
is_ipaddrish() {
if echo "$1" | grep -Eq '^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$'; then return 0; else return 1; fi
}
is_ipaddrish_or_empty() {
if [ -z "$1" ]; then return 0
elif is_ipaddrish "$1"; then return 0
else return 1; fi
}
is_number() {
if echo "$1" | grep -Eq '^(0|[+-]?[1-9][0-9]*)(\.[0-9]+)?$'; then return 0; else return 1; fi
}
@ -191,7 +180,6 @@ db_go || true; db_get $NAME/auto-start; if [ "$RET" = "true" ]; then
db_input_verify low $NAME/net-out-size is_unsigned_int || true
db_input_verify low $NAME/net-out-rate is_unsigned_int || true
db_input_verify low $NAME/net-buffer is_unsigned_int || true
db_input_verify medium $NAME/net-bind-address is_ipaddrish_or_empty || true
db_input_verify low $NAME/stats-interval is_unsigned_int || true

View File

@ -79,7 +79,6 @@ case "$1" in
subvar net-out-size NET_OUTPUT_SIZE
subvar net-out-rate NET_OUTPUT_RATE
subvar net-buffer NET_BUFFER
subvar net-bind-address NET_BIND_ADDRESS
subvar stats-interval STATS_INTERVAL
subvar extra-args EXTRA_ARGS

View File

@ -188,17 +188,6 @@ Type: select
Choices: 65536, 131072, 262144
Default: 262144
Template: dump1090-flightaware/net-bind-address
Description: Interface address to bind to (blank for all interfaces):
If you want to limit incoming connections to a particular interface,
specify the interface address here. A blank value will bind to the wildcard
address, allowing connections on all interfaces.
.
The default value of 127.0.0.1 will allow connections only on localhost,
i.e. only connections that originate on the same machine.
Type: string
Default: 127.0.0.1
Template: dump1090-flightaware/stats-interval
Description: Interval between logging stats, in seconds:
dump1090 will periodically log message reception stats to its logfile.
@ -236,10 +225,6 @@ Template: dump1090-flightaware/invalid-is_port_number
Description: Value must be a valid port number (1024-65535), or zero to disable.
Type: error
Template: dump1090-flightaware/invalid-is_ipaddrish_or_empty
Description: Value must be an IP address or empty.
Type: error
Template: dump1090-flightaware/invalid-is_number_or_empty
Description: Value must be a decimal number or empty.
Type: error