Fixed address_cache handling of hex DADR addresses for MS/TP or ARCNET devices. Thank you, Marshal!

This commit is contained in:
skarg
2015-03-06 21:55:58 +00:00
parent e5384a416c
commit e98f74424d
2 changed files with 4 additions and 5 deletions
-1
View File
@@ -258,7 +258,6 @@ bool address_mac_from_ascii(
mac->len = 6;
status = true;
} else if (c == 1) {
a[0] = (unsigned)strtol(arg, NULL, 0);
if (a[0] <= 255) {
mac->adr[0] = a[0];
mac->len = 1;