mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-01-28 09:06:44 -06:00
Add missing break
Wrong error message would be used for in case of RANGE_CHECK_DIFFERENT_TYPE_IN_DOMAIN. Missing break will cause fall through to the default section. Reviewed-By: Tomas Babej <tbabej@redhat.com>
This commit is contained in:
parent
e672a39637
commit
d1d2536375
@ -660,6 +660,7 @@ static int ipa_range_check_pre_op(Slapi_PBlock *pb, int modtype)
|
||||
break;
|
||||
case RANGE_CHECK_DIFFERENT_TYPE_IN_DOMAIN:
|
||||
errmsg = "New ID range has invalid type. All ranges in the same domain must be of the same type.";
|
||||
break;
|
||||
default:
|
||||
errmsg = "New range overlaps with existing one.";
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user