From 2c4d41221a7208e8e4d53ec85f24fe8a1da711dd Mon Sep 17 00:00:00 2001 From: Tomas Babej Date: Wed, 16 Apr 2014 17:20:55 +0200 Subject: ipa_range_check: Connect the new node of the linked list Part of: https://fedorahosted.org/freeipa/ticket/4137 Reviewed-By: Alexander Bokovoy --- daemons/ipa-slapi-plugins/ipa-range-check/ipa_range_check.c | 1 + 1 file changed, 1 insertion(+) diff --git a/daemons/ipa-slapi-plugins/ipa-range-check/ipa_range_check.c b/daemons/ipa-slapi-plugins/ipa-range-check/ipa_range_check.c index ea7658ed6..fca4819a0 100644 --- a/daemons/ipa-slapi-plugins/ipa-range-check/ipa_range_check.c +++ b/daemons/ipa-slapi-plugins/ipa-range-check/ipa_range_check.c @@ -131,6 +131,7 @@ static int map_domain_to_root(struct domain_info **head, new_head->forest_root_id = slapi_entry_attr_get_charptr(root_domain, IPA_DOMAIN_ID); new_head->next = *head; + *head = new_head; return 0; } -- cgit