If strtol fails to process any characters, return a failure. Added protocol chunk string to each parse_xxx method for completeness when printing to syslog. Added more tests - passing and failing cases. Signed-off-by: Noel Eck <noel.eck@intel.com>
If strtol fails to process any characters, return a failure. Added protocol chunk string to each parse_xxx method for completeness when printing to syslog. Added more tests - passing and failing cases. Signed-off-by: Noel Eck <noel.eck@intel.com>