chiark / gitweb /
sd-dhcp-client/net-util: make netmask_to_prefixlen generic
authorTom Gundersen <teg@jklm.no>
Tue, 28 Jan 2014 22:23:31 +0000 (23:23 +0100)
committerTom Gundersen <teg@jklm.no>
Thu, 30 Jan 2014 13:30:39 +0000 (14:30 +0100)
commit377a218f876507fb8be9c21ef4121fa2576ec317
treee5da9ac8c900e9150b752cf0b75f027c748424b5
parenteb0ea358b688a6f83ff305c6b825c61f12b6dcb8
sd-dhcp-client/net-util: make netmask_to_prefixlen generic

This was originally included in the dhcp-client at my request, but it is not
really dhcp-specific and useful outside of it, so let's pull it out.
src/libsystemd-dhcp/sd-dhcp-client.c
src/network/networkd-link.c
src/shared/net-util.c
src/shared/net-util.h
src/systemd/sd-dhcp-client.h