replace address parameter checks with new helper functions

This commit is contained in:
Stefan Wahren 2012-12-31 13:42:27 +01:00
parent 61fd2aa1c7
commit 898ee57d41

View File

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