diff options
author | Susant Sahani <ssahani@vmware.com> | 2020-03-22 10:39:23 +0100 |
---|---|---|
committer | Susant Sahani <ssahani@vmware.com> | 2020-03-22 10:39:23 +0100 |
commit | eb46288cca29c1f2f6f2ea697e3469c6babf8970 (patch) | |
tree | adbc5c9ffe19c74f7936f767441b43bb2f4ec981 /src/libsystemd/sd-network/sd-network.c | |
parent | network: DHCP lease load SIP copy paste error (diff) | |
download | systemd-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.c | 4 |
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); } |