Skip to content

Commit

Permalink
Remove WG and VPNC data maps below 388 (#388)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vaskivskyi committed Nov 20, 2023
1 parent 26bfbb0 commit 2420eb8
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion asusrouter/asusrouter.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,8 +226,13 @@ async def async_get_identity(self, force: bool = False) -> AsusDevice:
)
# Before 388
if firmware < fw_388:
# Remove WireGuard rule
# Remove VPNC rules
remove_data_rule(AsusData.VPNC)
remove_data_rule(AsusData.VPNC_CLIENTLIST)
# Remove WireGuard rules
remove_data_rule(AsusData.WIREGUARD)
remove_data_rule(AsusData.WIREGUARD_CLIENT)
remove_data_rule(AsusData.WIREGUARD_SERVER)

# Return new identity
return self._identity
Expand Down

0 comments on commit 2420eb8

Please sign in to comment.