Diff

Differences From Artifact [787b35b6d1]:

To Artifact [94dfe70fb7]:


51
52
53
54
55
56
57






58



59
60
61

62
63
64
65
66
67
68
	return(0);
}

static int lc_process_var_cidr(void *data, const char *value) {
	return(0);
}







static int lc_process_var_ip(void *data, const char *value) {



	uint32_t *dataval = NULL, retval = 0;
	const char *dotptr = NULL;
	int tmpval = -1;


	dataval = data;

	dotptr = value;

	while (1) {
		tmpval = atoi(dotptr);







>
>
>
>
>
>
|
>
>
>
|


>







51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
	return(0);
}

static int lc_process_var_cidr(void *data, const char *value) {
	return(0);
}

static int lc_process_var_hostname6(void *data, const char *value) {
}

static int lc_process_var_hostname4(void *data, const char *value) {
}

static int lc_process_var_ip6(void *data, const char *value) {
}

static int lc_process_var_ip4(void *data, const char *value) {
	uint32_t *dataval, retval = 0;
	const char *dotptr = NULL;
	int tmpval = -1;
//	int dotcount

	dataval = data;

	dotptr = value;

	while (1) {
		tmpval = atoi(dotptr);
274
275
276
277
278
279
280

281









282
283
284
285
286
287
288
		case LC_VAR_BOOL_BY_EXISTANCE:
			return(lc_process_var_bool_byexistance(data, value));
			break;
		case LC_VAR_SIZE_SIZE_T:
			return(lc_process_var_sizesizet(data, value));
			break;
		case LC_VAR_IP:

			return(lc_process_var_ip(data, value));









			break;
		case LC_VAR_CIDR:
			return(lc_process_var_cidr(data, value));
			break;
		case LC_VAR_TIME:
		case LC_VAR_DATE:
		case LC_VAR_FILENAME:







>
|
>
>
>
>
>
>
>
>
>







284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
		case LC_VAR_BOOL_BY_EXISTANCE:
			return(lc_process_var_bool_byexistance(data, value));
			break;
		case LC_VAR_SIZE_SIZE_T:
			return(lc_process_var_sizesizet(data, value));
			break;
		case LC_VAR_IP:
		case LC_VAR_IP4:
			return(lc_process_var_ip4(data, value));
			break;
		case LC_VAR_IP6:
			return(lc_process_var_ip6(data, value));
			break;
		case LC_VAR_HOSTNAME4:
			return(lc_process_var_hostname4(data, value));
			break;
		case LC_VAR_HOSTNAME6:
			return(lc_process_var_hostname6(data, value));
			break;
		case LC_VAR_CIDR:
			return(lc_process_var_cidr(data, value));
			break;
		case LC_VAR_TIME:
		case LC_VAR_DATE:
		case LC_VAR_FILENAME: