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 b69927d81117ecac77426c9d684dbf5b5b09584c..94235cf2f57d1a60ae479be27ccee1db59e28b55 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");