mirror of https://github.com/OISF/suricata
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This commit addresses the following three cases: 1. Do not use maxsplit keyword arg maxsplit argument to the split command was not a part of Python 2 and using it with Python 2 causes the following failure: ``` TypeError: split() takes no keyword arguments ``` Avoid this by eliminating all the named arguments from split. 2. Fix failure on extra arguments Up until now, suricatasc fails if any command which is not supposed to take args is given args. Fix this by ignoring any extra params. Closes redmine ticket #2813 3. Fix failure on different type of args If a command was given a string argument where it expected an int, it would fail and the process would exit. Fix this by handling the exception caused in such cases. Closes redmine ticket #2812 |
6 years ago | |
---|---|---|
.. | ||
bin | 7 years ago | |
suricata | 6 years ago | |
suricatasc | ||
.gitignore | 7 years ago | |
Makefile.am | ||
setup.py | 7 years ago |