dect
/
asterisk
Archived
13
0
Fork 0

fix a little oopsie

git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6316 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
russell 2005-08-09 19:31:54 +00:00
parent a818fdccc1
commit c7f7b43252
1 changed files with 1 additions and 1 deletions

View File

@ -8403,7 +8403,7 @@ static int set_config(char *config_file, int reload)
/* Seed initial tos value */
tosval = ast_variable_retrieve(cfg, "general", "tos");
if (tosval) {
if (ast_str2tos(v->value, &tos))
if (ast_str2tos(tosval, &tos))
ast_log(LOG_WARNING, "Invalid tos value, should be 'lowdelay', 'throughput', 'reliability', 'mincost', or 'none'\n");
}
while(v) {