summaryrefslogtreecommitdiff
path: root/selftest/target/Samba.pm
diff options
context:
space:
mode:
authorTim Beale <timbeale@catalyst.net.nz>2019-02-14 14:37:16 +1300
committerAndrew Bartlett <abartlet@samba.org>2019-03-05 23:27:30 +0000
commit2b60936d91268688db8344dfee68766b6494c604 (patch)
tree35a2da48c5eab48bf42f31cc8129a5f5bf9ce1ca /selftest/target/Samba.pm
parent572f83d62a5853634dfa79669393a70d9ce20731 (diff)
downloadsamba-2b60936d91268688db8344dfee68766b6494c604.tar.gz
selftest: Avoid hard-coding client IP address
We implicitly assume the client IP used by selftest is always 127.0.0.11. Add an iface entry for the client to make this a little more explicit. Signed-off-by: Tim Beale <timbeale@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'selftest/target/Samba.pm')
-rw-r--r--selftest/target/Samba.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/selftest/target/Samba.pm b/selftest/target/Samba.pm
index 8e8723c0b88..fdba45504bc 100644
--- a/selftest/target/Samba.pm
+++ b/selftest/target/Samba.pm
@@ -400,6 +400,7 @@ sub get_interface($)
$interfaces{"localnt4dc9"} = 9;
# 11-16 used by selftest.pl for client interfaces
+ $interfaces{"client"} = 11;
$interfaces{"addc_no_nss"} = 17;
$interfaces{"addc_no_ntlm"} = 18;