diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2021-06-02 21:23:43 +0300 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2021-06-02 21:23:43 +0300 |
commit | 01daecca1d908c7f08421cff815d81bd8ec3009a (patch) | |
tree | 15d46a471b38eae1e125b2304aa6e0c23758cbac /networking/udhcp/dhcpc.c | |
parent | 4bbc391c7f925d9c7d878c851887aa1545bd9bcd (diff) |
udhcpc[6]: remove superfluous "created raw socket" log message
function old new delta
change_listen_mode 299 280 -19
.rodata 103272 103250 -22
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-41) Total: -41 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/udhcp/dhcpc.c')
-rw-r--r-- | networking/udhcp/dhcpc.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/networking/udhcp/dhcpc.c b/networking/udhcp/dhcpc.c index a30632d86..f441976dd 100644 --- a/networking/udhcp/dhcpc.c +++ b/networking/udhcp/dhcpc.c @@ -1093,8 +1093,6 @@ static int udhcp_raw_socket(int ifindex) log1s("can't set PACKET_AUXDATA on raw socket"); } - log1s("created raw socket"); - return fd; } @@ -1701,7 +1699,7 @@ int udhcpc_main(int argc UNUSED_PARAM, char **argv) } /*xid = packet.xid; - already is */ temp_addr.s_addr = requested_ip = packet.yiaddr; - log1("received an offer of %s", inet_ntoa(temp_addr)); + log1("received offer of %s", inet_ntoa(temp_addr)); /* enter requesting state */ client_data.state = REQUESTING; |