use sdbusplus unpack syntax

Rather than defining a variable and then reading it from a message,
sdbusplus also supports directly unpack-ing from the message.  Use
this syntax instead as it is more efficient and succinct.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I9e1c7447883c0d80b47951ecb661304b8e8e84da
4 files changed
tree: e17655c76a4d4037d7b9070532c7d9d7879ae2e5
  1. docs/
  2. gen/
  3. src/
  4. subprojects/
  5. test/
  6. yaml/
  7. .clang-format
  8. .clang-tidy
  9. .gitignore
  10. .shellcheck
  11. 60-phosphor-networkd-default.network.in
  12. LICENSE
  13. meson.build
  14. meson.options
  15. OWNERS
  16. README.md
  17. xyz.openbmc_project.Network.conf.in
  18. xyz.openbmc_project.Network.service.in
README.md

phosphor-networkd

To Build

To build this package, do the following steps:

1. meson build
2. ninja -C build