summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2013-07-01 13:02:47 +0200
committerJeremy Allison <jra@samba.org>2013-07-02 12:30:53 -0700
commita4af4fa9db768dce2e009ba132cf88525a9b8314 (patch)
tree1db6876edd3d788a9d0949e5f0248fb9c8b10c82
parentd5511b125ccfd9c46cad63796aa49258bcc0ae38 (diff)
downloadsamba-a4af4fa9db768dce2e009ba132cf88525a9b8314.tar.gz
samba-a4af4fa9db768dce2e009ba132cf88525a9b8314.tar.bz2
samba-a4af4fa9db768dce2e009ba132cf88525a9b8314.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>
-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