Merge "libnetutils: Rename dhcptool to dhcpdbg" am: 9397adabd8

am: 482ca8ee38

Change-Id: I71e9d86d93b002dbfa0a1eaa61393031fae87a38
This commit is contained in:
Dmitry Shmidt 2017-05-18 01:27:14 +00:00 committed by android-build-merger
commit a4866d9e8b
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ cc_library_shared {
}
cc_binary {
name: "dhcptool",
name: "dhcpdbg",
srcs: [
"dhcptool.c",

View File

@ -40,7 +40,7 @@ int main(int argc, char* argv[]) {
if (rc) {
err(errno, "dhcptool %s: do_dhcp failed", interface);
}
warn("IP assignment is for debug purposes ONLY");
ifc_close();
return rc ? EXIT_FAILURE : EXIT_SUCCESS;