dhcp: merge leases.c and static_leases.c into dhcpd.c
authorDenys Vlasenko <vda.linux@googlemail.com>
Mon, 3 Oct 2016 22:51:38 +0000 (00:51 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Mon, 3 Oct 2016 22:56:58 +0000 (00:56 +0200)
commita85740c8afe6942beff90fec345403b37b2a9092
tree23781137d927ccfb0595b20bc8922b243334a81f
parentd2ae66cb3e5c79ffdbde553fa6cce64f9218e14d
dhcp: merge leases.c and static_leases.c into dhcpd.c

function                                             old     new   delta
send_offer                                           292     461    +169
udhcpd_main                                         1531    1588     +57
read_leases                                          330     332      +2
add_lease                                            314     312      -2
find_lease_by_mac                                     68       -     -68
find_free_or_expired_nip                             174       -    -174
------------------------------------------------------------------------------
(add/remove: 0/4 grow/shrink: 3/1 up/down: 228/-244)          Total: -16 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
networking/udhcp/Kbuild.src
networking/udhcp/arpping.c
networking/udhcp/dhcpd.c
networking/udhcp/dhcpd.h
networking/udhcp/leases.c [deleted file]
networking/udhcp/static_leases.c [deleted file]