Update libreg/src/rst.c to correct asbr calculation