sd-dhcp-lease: use shared default prefixlen function
authorTom Gundersen <teg@jklm.no>
Sat, 1 Nov 2014 18:02:44 +0000 (19:02 +0100)
committerTom Gundersen <teg@jklm.no>
Sat, 1 Nov 2014 18:02:44 +0000 (19:02 +0100)
commit1caa12d0a8a818d5f2545aab809b3fdfec73871d
treeb125e9822a152ddbe253cf1c852cf65ee2dd8871
parentbab47929613f9e930dd241a01483b37d14b59c69
sd-dhcp-lease: use shared default prefixlen function

Also change the default prefixlen function to only access the first octet of the in_addr.
src/libsystemd-network/dhcp-lease-internal.h
src/libsystemd-network/sd-dhcp-lease.c
src/shared/in-addr-util.c