1039 "must be in <name>=<value> form\n", p);
1040 }
1041
1042 *r = '\0';
1043 (void) nvlist_add_string(ip_auth, p, r + 1);
1044 *r = '=';
1045 }
1046 }
1047
1048 ip_start_connections();
1049 }
1050
1051 void
1052 _fmd_fini(fmd_hdl_t *hdl)
1053 {
1054 ip_quit++; /* set quit flag before signalling auxiliary threads */
1055
1056 while (ip_xps != NULL)
1057 ip_xprt_destroy(ip_xps);
1058
1059 if (ip_auth != NULL)
1060 nvlist_free(ip_auth);
1061
1062 ip_addr_cleanup();
1063
1064 if (ip_domain_name != NULL)
1065 fmd_prop_free_string(ip_hdl, ip_domain_name);
1066
1067 fmd_hdl_unregister(hdl);
1068 }
|
1039 "must be in <name>=<value> form\n", p);
1040 }
1041
1042 *r = '\0';
1043 (void) nvlist_add_string(ip_auth, p, r + 1);
1044 *r = '=';
1045 }
1046 }
1047
1048 ip_start_connections();
1049 }
1050
1051 void
1052 _fmd_fini(fmd_hdl_t *hdl)
1053 {
1054 ip_quit++; /* set quit flag before signalling auxiliary threads */
1055
1056 while (ip_xps != NULL)
1057 ip_xprt_destroy(ip_xps);
1058
1059 nvlist_free(ip_auth);
1060
1061 ip_addr_cleanup();
1062
1063 if (ip_domain_name != NULL)
1064 fmd_prop_free_string(ip_hdl, ip_domain_name);
1065
1066 fmd_hdl_unregister(hdl);
1067 }
|