Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d3b2d4ff authored by Dmitry Shmidt's avatar Dmitry Shmidt
Browse files

libnetutils: Rename dhcptool to dhcpdbg



Also print warning that IP will not allow full connectivity.

Test: Manual

Change-Id: I264c478f07236108a01e766c5264897c2000f008
Signed-off-by: default avatarDmitry Shmidt <dimitrysh@google.com>
parent 75a8233c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -19,7 +19,7 @@ cc_library_shared {
}

cc_binary {
    name: "dhcptool",
    name: "dhcpdbg",

    srcs: [
        "dhcptool.c",
+1 −1
Original line number Diff line number Diff line
@@ -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;