summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2013-07-01 13:02:47 +0200
committerKarolin Seeger <kseeger@samba.org>2013-07-04 09:33:29 +0200
commitc153e6c1d93b961df288778333ff906450080f24 (patch)
tree1db6876edd3d788a9d0949e5f0248fb9c8b10c82
parentbb122b056ba47a3ac4a4ff6cdea410ca916ec0bf (diff)
downloadsamba-c153e6c1d93b961df288778333ff906450080f24.tar.gz
samba-c153e6c1d93b961df288778333ff906450080f24.tar.bz2
samba-c153e6c1d93b961df288778333ff906450080f24.zip
selftest: Use higher ip numbers.
127.0.0.2 is used by some distributions to resolve the own hostname. Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> (cherry picked from commit a4af4fa9db768dce2e009ba132cf88525a9b8314)
-rw-r--r--selftest/target/Samba.pm11
1 files changed, 6 insertions, 5 deletions
diff --git a/selftest/target/Samba.pm b/selftest/target/Samba.pm
index fa18985433..ab3851f67e 100644
--- a/selftest/target/Samba.pm
+++ b/selftest/target/Samba.pm
@@ -150,11 +150,12 @@ sub get_interface($)
$netbiosname = lc($netbiosname);
my %interfaces = ();
- $interfaces{"locals3dc2"} = 2;
- $interfaces{"localmember3"} = 3;
- $interfaces{"localshare4"} = 4;
- $interfaces{"localktest6"} = 6;
- $interfaces{"maptoguest"} = 7;
+ $interfaces{"locals3dc2"} = 3;
+ $interfaces{"localmember3"} = 4;
+ $interfaces{"localshare4"} = 5;
+
+ $interfaces{"localktest6"} = 7;
+ $interfaces{"maptoguest"} = 8;
# 11-16 used by selftest.pl for client interfaces