diff options
Diffstat (limited to 'python')
-rw-r--r-- | python/samba/tests/auth_log_base.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/python/samba/tests/auth_log_base.py b/python/samba/tests/auth_log_base.py index 38f5eb5175d..c1391080566 100644 --- a/python/samba/tests/auth_log_base.py +++ b/python/samba/tests/auth_log_base.py @@ -77,6 +77,9 @@ class AuthLogTestBase(samba.tests.TestCase): return False def isRemote(message): + if self.remoteAddress is None: + return True + remote = None if message["type"] == "Authorization": remote = message["Authorization"]["remoteAddress"] |