From a4af4fa9db768dce2e009ba132cf88525a9b8314 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Mon, 1 Jul 2013 13:02:47 +0200 Subject: selftest: Use higher ip numbers. 127.0.0.2 is used by some distributions to resolve the own hostname. Signed-off-by: Andreas Schneider Reviewed-by: Jeremy Allison --- selftest/target/Samba.pm | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'selftest') 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 -- cgit