[sr-dev] git:master:a48d87df: core: bug fix in str2ipbuf, return an error for invalid input parameter