chiark / gitweb /
sd-dhcp-client: document message creation a bit more
authorTom Gundersen <teg@jklm.no>
Fri, 11 Apr 2014 19:02:16 +0000 (21:02 +0200)
committerTom Gundersen <teg@jklm.no>
Fri, 11 Apr 2014 20:24:26 +0000 (22:24 +0200)
commit50d6810ea8117bbfcf7007ae779d1a98a7300b5f
tree1a6361ef649d1d8f7b4f77c07f50b914ebdb6ebd
parent8a9e761600d0d44bcc2e665e4fe1fda30e3e4749
sd-dhcp-client: document message creation a bit more

Also reshuffle some code to make the correspondence with the RFC a bit more
obvious.

Small functional change: fail if we try to send a message from the wrong state.
src/libsystemd-network/sd-dhcp-client.c