Holger Hans Peter Freyther wrote:
+ # Barred rach access control classes
+ self.vty.verify("rach access-control-class 0 barred", [''])
+ self.vty.verify("rach access-control-class 1 barred", [''])
+ self.vty.verify("rach access-control-class 2 barred", [''])
what happened to the code that I sent for parsing ranges and not just
a single class digit?
can you re-send your patch/diff for that? I can help with the test
case for that.
I didn't make an actual patch, I only wrote and sent the range/list
parsing code, since Alex wrote that it would get used it if I sent it.
I'm attaching a cleaned-up version with all functionality moved to
an actual function and now also featuring input validation not just
for characters but also their meaning. Out-of-range list/range
numbers are no longer silently ignored but cause an error.
What's the best way to proceed? I suppose I could send a patch to
add this function somewhere - maybe libosmocore? It should obviously
log instead of sending to stderr then.
//Peter