chiark / gitweb /
sd-dhcp-client: improve logging when stopping client
authorTom Gundersen <teg@jklm.no>
Thu, 8 May 2014 22:26:22 +0000 (00:26 +0200)
committerTom Gundersen <teg@jklm.no>
Fri, 9 May 2014 12:41:27 +0000 (14:41 +0200)
'Requested by user' was confusing, just drop it.

src/libsystemd-network/sd-dhcp-client.c

index b69927d..94235cf 100644 (file)
@@ -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");