]> git.ipfire.org Git - thirdparty/systemd.git/commit
resolved: add SetLinkXYZ() method counterparts on the Link object
authorLennart Poettering <lennart@poettering.net>
Tue, 19 Jan 2016 20:20:13 +0000 (21:20 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 19 Jan 2016 20:56:54 +0000 (21:56 +0100)
commitd2ec6608b93e3f74345c737637af24e9e75c209b
tree79cf1e46375b8fcfaa62a418d3bf283fa54394ba
parent0645ce61a01ad174673b5ef5dcaee815c27f18ca
resolved: add SetLinkXYZ() method counterparts on the Link object

So far, we exposed SetLinkXYZ() on the Manager interface, to set a couple of link properties. This adds similar calls
SetXYZ() on the Link interface, and makes sure the former is little more than a shortcut to the latter.

SetLinkXYZ() has the benefit of not requiring a GetLink() round trip for setting these properties, while the method
actually belongs to the Link objects, and this change corrects that.
src/resolve/resolved-bus.c
src/resolve/resolved-link-bus.c
src/resolve/resolved-link-bus.h