1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-03 13:47:25 +03:00

r13080: fix crash bug

metze
This commit is contained in:
Stefan Metzmacher 2006-01-23 12:55:22 +00:00 committed by Gerald (Jerry) Carter
parent 780870293b
commit 0372438000

View File

@ -323,7 +323,7 @@ static void verify_handler(struct irpc_request *ireq)
}
}
} else if (NT_STATUS_IS_OK(status) && rec->type == WREPL_TYPE_GROUP) {
if (s->r.out.num_addrs != 1 || strcmp(s->r.out.addrs[i].addr, "255.255.255.255") != 0) {
if (s->r.out.num_addrs != 1 || strcmp(s->r.out.addrs[0].addr, "255.255.255.255") != 0) {
different = True;
}
}