From 112fb5a3a5b64f2e0f6edd2acfe806868810b1e8 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Fri, 12 Jun 2009 04:42:57 +0200 Subject: [PATCH] Add hooks for domain details in dhclient --- plugins/dhclient.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/plugins/dhclient.c b/plugins/dhclient.c index ca9b621..10f32ff 100644 --- a/plugins/dhclient.c +++ b/plugins/dhclient.c @@ -299,6 +299,15 @@ static DBusHandlerResult dhclient_filter(DBusConnection *conn, task->element->ipv4.nameserver = g_strdup(value); } + if (g_ascii_strcasecmp(key, "new_domain_name") == 0) { + } + + if (g_ascii_strcasecmp(key, "new_domain_search") == 0) { + } + + if (g_ascii_strcasecmp(key, "new_host_name") == 0) { + } + dbus_message_iter_next(&dict); } -- 1.7.9.5