[PATCH] Add vty command for setting Access control classes

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Peter Stuge peter at stuge.se
Thu Jul 25 16:10:42 UTC 2013


Peter Stuge wrote:
>     if (',' == *p)
>       p++;

Here it should actually also throw parse error if there is any other
character than comma or end-of-input:

if (',' == *p)
  p++;
else if (*p) {
  fprintf(stderr, "invalid input at '%.5s'\n", p);
  return 4;
}


//Peter




More information about the OpenBSC mailing list