From: Tom Gundersen Date: Thu, 8 May 2014 22:26:22 +0000 (+0200) Subject: sd-dhcp-client: improve logging when stopping client X-Git-Tag: v213~203 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=699370c98d37e4b373795f62cba9ff7bade5f2a1 sd-dhcp-client: improve logging when stopping client 'Requested by user' was confusing, just drop it. --- diff --git a/src/libsystemd-network/sd-dhcp-client.c b/src/libsystemd-network/sd-dhcp-client.c index b69927d81..94235cf2f 100644 --- a/src/libsystemd-network/sd-dhcp-client.c +++ b/src/libsystemd-network/sd-dhcp-client.c @@ -237,7 +237,7 @@ static sd_dhcp_client *client_stop(sd_dhcp_client *client, int error) { else { switch(error) { case DHCP_EVENT_STOP: - log_dhcp_client(client, "STOPPED: Requested by user"); + log_dhcp_client(client, "STOPPED"); break; case DHCP_EVENT_NO_LEASE: log_dhcp_client(client, "STOPPED: No lease");