entity_sequence = get16(element+6);
if (element_len == 8) entity_sequence = get16(element+6); else entity_sequence = 0;
int decode_origination(unsigned char *element, int element_len) {	// 0x01 Originating Station - Callsign, SSID, Sequence, and Network	unsigned char network;	if (element_len < 8) return -1;	if (element_len > 9) return -1;	memcpy(origin_call, element, 6);	origin_call[6]=0;	origin_ssid = extract_ssid(origin_call);	entity_sequence = get16(element+6);	strcpy(entity_call, origin_call);	entity_ssid = origin_ssid;	entity_serial = 0;	if (element_len == 9) {		network = *(element+9);		lprintf(T_OPENTRAC, "Origin: %s-%d seq %d net %d\r\n",origin_call,origin_ssid,entity_sequence,network);	}	else lprintf(T_OPENTRAC, "Origin: %s-%d seq %d direct\r\n",origin_call,origin_ssid,entity_sequence);	return 0;}