summaryrefslogtreecommitdiff
path: root/src/libsystemd/sd-network
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-01-05 17:32:25 +0100
committerLennart Poettering <lennart@poettering.net>2016-01-05 17:41:41 +0100
commitaaa297d4e5401fd4466632555432774863457f1d (patch)
treefba0368e1037d4cd02760fce8dc6450d819de72b /src/libsystemd/sd-network
parentaf49ca27ffd790d78dbbb465b978266dfd5c93da (diff)
networkd,resolved: add a per-interface mdns configuration option
Diffstat (limited to 'src/libsystemd/sd-network')
-rw-r--r--src/libsystemd/sd-network/sd-network.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libsystemd/sd-network/sd-network.c b/src/libsystemd/sd-network/sd-network.c
index d01c4ae8e2..a63ff46c68 100644
--- a/src/libsystemd/sd-network/sd-network.c
+++ b/src/libsystemd/sd-network/sd-network.c
@@ -139,6 +139,10 @@ _public_ int sd_network_link_get_llmnr(int ifindex, char **llmnr) {
return network_link_get_string(ifindex, "LLMNR", llmnr);
}
+_public_ int sd_network_link_get_mdns(int ifindex, char **mdns) {
+ return network_link_get_string(ifindex, "MDNS", mdns);
+}
+
_public_ int sd_network_link_get_lldp(int ifindex, char **lldp) {
_cleanup_free_ char *s = NULL, *p = NULL;
size_t size;