olsrd: fix stack corruption in net_output()