Harald provided us with this fix for the current OpenBSC API.