]> git.ipfire.org Git - thirdparty/systemd.git/commit
Add netdev files associated with link to networkd JSON output (#37402)
authorValentin Hăloiu <valentin.haloiu@gmail.com>
Sun, 11 May 2025 00:33:28 +0000 (01:33 +0100)
committerGitHub <noreply@github.com>
Sun, 11 May 2025 00:33:28 +0000 (09:33 +0900)
commit1dbeb98feaefe873e7e58ee9db53432fa55523aa
treeb6317daad2a512ee0762d1af0cedb6d6928f3f6e
parentf0b7ca9768f8b451832c340a9bfdf5561dc9f34d
Add netdev files associated with link to networkd JSON output (#37402)

`networkctl status LINK` gained support for showing the netdev
configuration files associated with a link in
c9837c17d57d7e0fd9d3e2a4f2693f389ca76c24, but these netdev files were
never added to the JSON output too.

This pull-request fixes that by adding two new fields (`NetDevFile` and
`NetDevFileDropins`) to the `networkctl` (and `D-Bus`) JSON output.
src/network/networkd-json.c