Add hooks for domain details in dhclient
authorMarcel Holtmann <marcel@holtmann.org>
Fri, 12 Jun 2009 02:42:57 +0000 (04:42 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 12 Jun 2009 02:42:57 +0000 (04:42 +0200)
plugins/dhclient.c

index ca9b621..10f32ff 100644 (file)
@@ -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);
        }