Browse Source

make the paramter param in @dev[param] lower case for

commands alter, altermod
pre-master-46
Holger Vogt 8 years ago
parent
commit
0675da008b
  1. 4
      src/frontend/device.c

4
src/frontend/device.c

@ -1241,6 +1241,10 @@ com_alter_common(wordlist *wl, int do_model)
return; return;
} }
/* in case the altermod command comes from commandline or
over shared library we have to provide lowercase */
strtolower(param);
words = eqword->wl_next; words = eqword->wl_next;
/* skip next line if words is a vector */ /* skip next line if words is a vector */
if (!eq(words->wl_word, "[")) if (!eq(words->wl_word, "["))

Loading…
Cancel
Save