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

Commit 9397adab authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "libnetutils: Rename dhcptool to dhcpdbg"

parents 7868a0d8 d3b2d4ff
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;