replace address parameter checks with new helper functions

This commit is contained in:
Stefan Wahren
2012-12-31 13:44:03 +01:00
parent 898ee57d41
commit e248d6e421
8 changed files with 8 additions and 8 deletions

View File

@ -70,7 +70,7 @@ main(int argc, char **argv)
return 1;
}
if (strlen(addr_str) == 16)
if (mbus_is_secondary_address(addr_str))
{
// secondary addressing