1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

mapping: there is no send timestamp anymore

This commit is contained in:
Steffen Vogel 2018-08-07 09:33:18 +02:00
parent 1f16b4bf07
commit f623a7ecfb
2 changed files with 1 additions and 4 deletions

View file

@ -62,8 +62,7 @@ enum mapping_header_type {
enum mapping_timestamp_type {
MAPPING_TIMESTAMP_TYPE_ORIGIN,
MAPPING_TIMESTAMP_TYPE_RECEIVED,
MAPPING_TIMESTAMP_TYPE_SEND
MAPPING_TIMESTAMP_TYPE_RECEIVED
};
struct mapping_entry {

View file

@ -122,8 +122,6 @@ int mapping_parse_str(struct mapping_entry *me, const char *str, struct list *no
me->timestamp.type = MAPPING_TIMESTAMP_TYPE_ORIGIN;
else if (!strcmp(field, "received"))
me->timestamp.type = MAPPING_TIMESTAMP_TYPE_RECEIVED;
else if (!strcmp(field, "sent"))
me->timestamp.type = MAPPING_TIMESTAMP_TYPE_SEND;
else
goto invalid_format;
}