udhcp: change UDHCP_DEBUG into int, make verbosity selectable with -v

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko
2009-06-17 11:54:52 +02:00
parent ed8982bfc0
commit ac906fa85e
16 changed files with 197 additions and 122 deletions

View File

@ -128,6 +128,6 @@ int FAST_FUNC arpping(uint32_t test_ip,
ret:
close(s);
DEBUG("%srp reply received for this address", rv ? "No a" : "A");
log1("%srp reply received for this address", rv ? "No a" : "A");
return rv;
}