openbmc / sdbusplus

C++ bindings for systemd dbus APIs
Apache License 2.0
104 stars 82 forks source link

boolean properties always have 'false' value. #7

Closed williamspatrick closed 7 years ago

williamspatrick commented 7 years ago

Creating a YAML file with just a 'boolean' property results in the object always having a value of 'false' on the dbus.

This is due to the wrong sized pointer being passed to the underlying sdbus interfaces. sdbus requires 'boolean' to be an 'int' and not a 'bool'.