]> git.ipfire.org Git - thirdparty/systemd.git/commit
resolved: move verification that link is unmanaged into the proper bus calls 3502/head
authorLennart Poettering <lennart@poettering.net>
Fri, 10 Jun 2016 18:54:10 +0000 (20:54 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 10 Jun 2016 21:26:53 +0000 (23:26 +0200)
commit04b764bf76a74943ca652691cfd5b511ed8fe96c
tree59d7eeb66770f89e9465d160fa41fed4d51f1882
parentba35662fbdde7b90aed6b34c641b4ff0ea740c68
resolved: move verification that link is unmanaged into the proper bus calls

Previously, we checked only for the various SetLinkXYZ() calls on the Manager
object exposed on the bus if the specified interface is managed/unmanaged by
networkd (as we don't permit overriding DNS configuration via bus calls if
networkd owns the device), but the equivalent SetXYZ() calls on the Link object
did not have such a check. Fix that by moving the appropriate check into the
latter, as the former just calls that anyway.
src/resolve/resolved-bus.c
src/resolve/resolved-link-bus.c