Skip to content

Commit 155ea0b

Browse files
committed
[qa] Minor formatting
Signed-off-by: DragnEmperor <[email protected]>
1 parent 69540a8 commit 155ea0b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

docs/user/whois.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ Trigger Conditions
3737

3838
A 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

4344
However, the lookup will only run if **all** the following conditions are

openwisp_controller/config/whois/service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)