summaryrefslogtreecommitdiffstats
path: root/src/libsystemd/sd-network/sd-network.c
diff options
context:
space:
mode:
authorSusant Sahani <ssahani@vmware.com>2020-03-22 10:39:23 +0100
committerSusant Sahani <ssahani@vmware.com>2020-03-22 10:39:23 +0100
commiteb46288cca29c1f2f6f2ea697e3469c6babf8970 (patch)
treeadbc5c9ffe19c74f7936f767441b43bb2f4ec981 /src/libsystemd/sd-network/sd-network.c
parentnetwork: DHCP lease load SIP copy paste error (diff)
downloadsystemd-eb46288cca29c1f2f6f2ea697e3469c6babf8970.tar.xz
systemd-eb46288cca29c1f2f6f2ea697e3469c6babf8970.zip
sd-network: Provice APIs to access SIP servers given by DHCP4 server
Diffstat (limited to 'src/libsystemd/sd-network/sd-network.c')
-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 b9b618e585..964200a55e 100644
--- a/src/libsystemd/sd-network/sd-network.c
+++ b/src/libsystemd/sd-network/sd-network.c
@@ -240,6 +240,10 @@ _public_ int sd_network_link_get_ntp(int ifindex, char ***ret) {
return network_link_get_strv(ifindex, "NTP", ret);
}
+_public_ int sd_network_link_get_sip(int ifindex, char ***ret) {
+ return network_link_get_strv(ifindex, "SIP", ret);
+}
+
_public_ int sd_network_link_get_search_domains(int ifindex, char ***ret) {
return network_link_get_strv(ifindex, "DOMAINS", ret);
}