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

netem: make mark configurable

This commit is contained in:
Steffen Vogel 2019-02-15 09:42:53 +01:00
parent 4660f97834
commit e79f7376a7

View file

@ -282,12 +282,13 @@ int node_parse(struct node *n, json_t *json, const char *name)
n->name = strdup(name);
ret = json_unpack_ex(json, &err, 0, "{ s: s, s?: { s?: o }, s?: { s?: o } }",
ret = json_unpack_ex(json, &err, 0, "{ s: s, s?: { s?: o }, s?: { s?: o, s: i } }",
"type", &type,
"in",
"signals", &json_signals,
"out",
"netem", &json_netem
"netem", &json_netem,
"fwmark", &n->fwmark
);
if (ret)
jerror(&err, "Failed to parse node %s", node_name(n));