if (!octet4) return -1;
if (!octet4) { return -1; }
int parseIPv4Pattern(char* s, FieldData** fdata, FieldLength* length) {	char* p = s;	char* octet1 = get_next_token(&p, ".");	char* octet2 = get_next_token(&p, ".");	char* octet3 = get_next_token(&p, ".");	char* octet4 = get_next_token(&p, "/");	char* imask = get_next_token(&p, " ");	if (!octet4) return -1;/*	if (imask) {		*length = 5;		} else {		*length = 4;		}*/	*length = 5;		FieldData* fd = (FieldData*)malloc(*length);	fd[0]=atoi(octet1);	fd[1]=atoi(octet2);	fd[2]=atoi(octet3);	fd[3]=atoi(octet4);	fd[4]=0;	if (imask) fd[4]=32-atoi(imask);	*fdata = fd;	return 0;	}	