summaryrefslogtreecommitdiff
path: root/gdhcp/client.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdhcp/client.c')
-rw-r--r--gdhcp/client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdhcp/client.c b/gdhcp/client.c
index a6f0e8a5..32263926 100644
--- a/gdhcp/client.c
+++ b/gdhcp/client.c
@@ -372,7 +372,7 @@ GDHCPClient *g_dhcp_client_new(GDHCPType type,
dhcp_client->interface = get_interface_name(ifindex);
if (dhcp_client->interface == NULL) {
- *error = G_DHCP_CLIENT_ERROR_INERFACE_UNAVAILABLE;
+ *error = G_DHCP_CLIENT_ERROR_INTERFACE_UNAVAILABLE;
goto error;
}