Skip to content

Commit

Permalink
Bugfix: ASUSWRT-Merlin latest is now supported
Browse files Browse the repository at this point in the history
  • Loading branch information
1951FDG committed Mar 18, 2021
1 parent 86306fd commit e3e7930
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions openpyn/converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
verboselogs.install()
logger = logging.getLogger(__package__)

# ASUSWRT-Merlin 384.18
# ASUSWRT-Merlin
# github.com/RMerl/asuswrt-merlin.ng/blob/5491c35d99160fefd3c8c89e7de5a635215009a2/release/src/router/shared/defaults.c

# CONFIGURATION PLACEHOLDERS
# spaces are intentionally left at the end of the word
Expand All @@ -36,7 +37,7 @@
T_PORT = 'port'
T_PROTOCOL = 'proto'
T_TLS_RENEGOTIATION_TIME = 'reneg'
T_CONNECTION_RETRY = 'retry'
T_CONNECTION_RETRY = 'connretry'
T_REDIRECT_GATEWAY = 'rgw'
T_CLIENT = 'unit'
T_USERAUTH = 'userauth'
Expand Down Expand Up @@ -97,7 +98,7 @@ def __init__(self, debug_mode=False):
self._extracted_data[T_PORT] = "1194"
self._extracted_data[T_PROTOCOL] = "udp"
self._extracted_data[T_TLS_RENEGOTIATION_TIME] = "0"
self._extracted_data[T_CONNECTION_RETRY] = "-1"
self._extracted_data[T_CONNECTION_RETRY] = "15"
self._extracted_data[T_REDIRECT_GATEWAY] = "1"
self._extracted_data[T_CLIENT] = "5"
self._extracted_data[T_USERAUTH] = "1"
Expand Down

0 comments on commit e3e7930

Please sign in to comment.