Change odhcp6c_insert_state to return a success/failure indicator
authorBen Hutchings <ben@decadent.org.uk>
Thu, 28 Jan 2016 01:14:04 +0000 (01:14 +0000)
committerBen Hutchings <ben@decadent.org.uk>
Thu, 28 Jan 2016 13:30:45 +0000 (13:30 +0000)
commit7b22e48fbf23d20d92a4bae581f39ac3704d8bb2
treea6ee10763a203daf0fe61a3f8acaeb86d76c6614
parentfe22a82fa0bd187a39d130d593c4d56d4749a174
Change odhcp6c_insert_state to return a success/failure indicator

Some callers will need to free resources on failure.

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
src/odhcp6c.c
src/odhcp6c.h