File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
openwisp_controller/config/whois Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,8 @@ Trigger Conditions
3737
3838A WHOIS lookup is triggered automatically when:
3939
40- - A new device is registered or its last IP address is changed.
40+ - A new device is registered.
41+ - An existing device's last IP address is changed.
4142- A device fetches its checksum.
4243
4344However, the lookup will only run if **all ** the following conditions are
Original file line number Diff line number Diff line change @@ -209,7 +209,7 @@ def _need_whois_lookup(self, new_ip):
209209 The lookup is not triggered if:
210210 - The new IP address is None or it is a private IP address.
211211 - The WHOIS information of new ip is present and is not older than
212- 14 days.
212+ X days (defined by "WHOIS_REFRESH_THRESHOLD_DAYS") .
213213 - WHOIS is disabled in the organization settings. (query from db)
214214 """
215215
You can’t perform that action at this time.
0 commit comments