]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/libsystemd/sd-network/sd-network.c
sd-network: fixup api
authorTom Gundersen <teg@jklm.no>
Wed, 16 Jul 2014 09:05:25 +0000 (11:05 +0200)
committerTom Gundersen <teg@jklm.no>
Thu, 17 Jul 2014 20:53:35 +0000 (22:53 +0200)
commit6dcaa6f59a39dd4acc67fc2e4873c37e2ed46430
treeb10feb5d0d3b50368f35d629daca703eda11df05
parent7de12ae764e73730df0658f9fb04bcf42add48e2
sd-network: fixup api

Do not expose link_is_loopback, people should just get this from rtnl directly.
Do not expose NTP servers as IP addresses, these must be strings.
Expose ifindex as int, not unsigned. This is what the kernel (mostly) and glibc uses.
src/network/networkd-link.c
src/network/sd-network.c
src/systemd/sd-network.h