chiark / gitweb /
sd-dhcp-client: explicitly handle raw and udp messages
authorTom Gundersen <teg@jklm.no>
Thu, 13 Feb 2014 19:56:16 +0000 (20:56 +0100)
committerTom Gundersen <teg@jklm.no>
Sat, 15 Feb 2014 11:14:45 +0000 (12:14 +0100)
commite5002702716b047c3d5515aaeecc5b829db02aa4
treeabd448e721d74bdf09c0adf1518b0eb62b22c981
parentee3a6a51e5b098aa0c9641ed71d275c459ad2f5a
sd-dhcp-client: explicitly handle raw and udp messages

Split the recevie_message callback into _raw and _udp parts and a generic
DHCPMessage handler.

Also always verify the xid/MAC, rather than only for udp messages.
src/libsystemd-dhcp/sd-dhcp-client.c