about summary refs log tree commit diff
path: root/src/dhcp-manager/nm-dhcp-client.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dhcp-manager/nm-dhcp-client.c')
-rw-r--r--src/dhcp-manager/nm-dhcp-client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dhcp-manager/nm-dhcp-client.c b/src/dhcp-manager/nm-dhcp-client.c
index 3418bf3b..f10f3de9 100644
--- a/src/dhcp-manager/nm-dhcp-client.c
+++ b/src/dhcp-manager/nm-dhcp-client.c
@@ -638,7 +638,7 @@ nm_dhcp_client_foreach_option (NMDHCPClient *self,
 		}
 
 		if (!ignore) {
-			const char *tmp_key = value;
+			const char *tmp_key = key;
 
 			/* Remove the "new_" prefix that dhclient passes back */
 			if (!strncmp (key, NEW_TAG, strlen (NEW_TAG)))