Searched refs:leasestream (Results 1 – 1 of 1) sorted by relevance
30 FILE *leasestream; in lease_init() local50 leasestream = popen(daemon->dhcp_buff, "r"); in lease_init()63 leasestream = daemon->lease_stream = fopen(daemon->lease_file, "a+"); in lease_init()65 if (!leasestream) in lease_init()69 rewind(leasestream); in lease_init()74 if (leasestream) in lease_init()75 while (fscanf(leasestream, "%lu %255s %16s %255s %764s", in lease_init()122 …if (!leasestream || (rc = pclose(leasestream)) == -1 || WEXITSTATUS(rc) == 127 || WEXITSTATUS(rc) … in lease_init()