1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

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 a4af4fa9db)
This commit is contained in:
Andreas Schneider 2013-07-01 13:02:47 +02:00 committed by Karolin Seeger
parent bb122b056b
commit c153e6c1d9

View File

@ -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