Skip to content

Commit

Permalink
changed: UPnP defaults to false in the config
Browse files Browse the repository at this point in the history
  • Loading branch information
diva-exchange committed Mar 2, 2022
1 parent ba1f628 commit 4162969
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
### Added
- Environment variable ENABLE_UPNP, see README
### Changed
- i2pd default config, enabled upnp by default
- i2pd default config, using ENABLE_UPNP, defaults to false
- i2pd version 2.41.0

## [2.40.0] - 2021-11-12
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ Set ENABLE_FLOODFILL to 1 (true) or 0 (false) to create a floodfill router. Defa

Set BANDWIDTH to control or limit the bandwidth used by the router. Use "L" (32KBs/sec), "O" (256KBs/sec), "P" (2048KBs/sec) or "X" (unlimited). By default, the bandwidth is set to "L" for non-floodfill routers and to "X" for floodfill routers.

Set ENABLE_UPNP to 1 (true) or 0 (false) to enable UPNP. Defaults to 1 (true).
Set ENABLE_UPNP to 1 (true) or 0 (false) to enable UPNP. Defaults to 0 (false).

Some examples on how to use environment variables:

Expand Down
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ else
BANDWIDTH=${BANDWIDTH:-L}
fi

ENABLE_UPNP=${ENABLE_UPNP:-1}
ENABLE_UPNP=${ENABLE_UPNP:-0}
if [[ ${ENABLE_UPNP} == 1 ]]
then
ENABLE_UPNP=true
Expand Down

0 comments on commit 4162969

Please sign in to comment.