Skip to content

Commit

Permalink
Support iplist for literal policy.
Browse files Browse the repository at this point in the history
  • Loading branch information
sdgathman committed Jan 1, 2020
1 parent ea15304 commit ebbf26a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions spf.py
Original file line number Diff line number Diff line change
Expand Up @@ -2006,5 +2006,8 @@ def _test():
print('guessed:',q.best_guess(),q.mechanism)
if q.perm_error and q.perm_error.ext:
print('lax:',q.perm_error.ext)
if q.iplist:
for ip in q.iplist:
print(ip)
else:
print(USAGE)

0 comments on commit ebbf26a

Please sign in to comment.