mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
add optional indicator
Signed-off-by: Pascal Bauer <pascal.bauer@rwth-aachen.de>
This commit is contained in:
parent
9e89ba32c2
commit
74155d9685
1 changed files with 1 additions and 1 deletions
|
@ -135,7 +135,7 @@ CoreFactory::configureIps(std::list<IpIdentifier> orderedIps, json_t *json_ips,
|
|||
if (json_is_object(json_parameters)) {
|
||||
json_int_t c_baseaddr = 0;
|
||||
int baseaddress_found =
|
||||
json_unpack(json_parameters, "{ s: I }", "c_baseaddr", &c_baseaddr);
|
||||
json_unpack(json_parameters, "{ s?: I }", "c_baseaddr", &c_baseaddr);
|
||||
if (baseaddress_found == 0)
|
||||
ip->baseaddr = c_baseaddr;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue