-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
option --provider-name doesn't work without additional args to the output address #2
Comments
Around 05/29/2012 12:48 PM, YAtOff scribbled:
I don't get it, what does provider name have to do with the interface? Georgi Chorbadzhiyski |
if you write in the config file like this: and run: dvblast --provider-name SomeProvider .... the provider name won't be changed to SomeProvider. That's because the program reaches: if ( psz_string == NULL || !*psz_string ) goto end; and never reaches: if ( !p_config->psz_service_provider && psz_provider_name ) But if you add an option to the address: and run with the some arguments, it works. |
Around 05/29/2012 01:11 PM, YAtOff scribbled:
You must set the protocol after the address like you discovered. Georgi Chorbadzhiyski |
if we write output address in the form ip:port (without @interface or /option/option ...),
despite we have provided --provider-name sth. on the command line,
the program reaches dvblast.c:196
and the function config_ParseHost returns, without setting p_config->psz_service_provider.
As a result the provider name isn't changed.
That must happen on dvblast.c:262:
where psz_provider_name is the command line argument.
The text was updated successfully, but these errors were encountered: