modules/lcr: Fixed to/from_gw tests when proto parameter is 0 (ANY)