Adapted to new 0.12 of ibr-dtn