Diff

Differences From Artifact [94dfe70fb7]:

To Artifact [9adb43042b]:


48
49
50
51
52
53
54
55
56
57
58

59
60
61

62
63
64

65
66
67
68
69
70
71
	dataval = data;
	*dataval = strdup(value);

	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







|



>



>



>







48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
	dataval = data;
	*dataval = strdup(value);

	return(0);
}

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

static int lc_process_var_hostname6(void *data, const char *value) {
	return(-1);
}

static int lc_process_var_hostname4(void *data, const char *value) {
	return(-1);
}

static int lc_process_var_ip6(void *data, const char *value) {
	return(-1);
}

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
892
893
894
895
896
897
898


899
900
901
902
903
904
905

		next = handler->_next;

		free(handler);

		handler = next;
	}



	return;
}

int lc_process(int argc, char **argv, const char *appname, lc_conf_type_t type, const char *extra) {
	int retval = 0, chkretval = 0;








>
>







895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910

		next = handler->_next;

		free(handler);

		handler = next;
	}

	varhandlers = NULL;

	return;
}

int lc_process(int argc, char **argv, const char *appname, lc_conf_type_t type, const char *extra) {
	int retval = 0, chkretval = 0;