[sr-dev] git:master: modules/lcr: Simpler implementation of next_gw() function