Consistent return values in clean_mac/mac2ip

Also, an invalid MAC will not trigger an error log, but only a debugging
log.