dhcp: add missing DHCPv6 client states
authorDan Williams <dcbw@redhat.com>
Fri, 23 Apr 2010 22:30:46 +0000 (15:30 -0700)
committerDan Williams <dcbw@redhat.com>
Fri, 23 Apr 2010 22:30:46 +0000 (15:30 -0700)
src/dhcp-manager/nm-dhcp-client.c
src/dhcp-manager/nm-dhcp-client.h

index 888e7c5..9f97194 100644 (file)
@@ -390,11 +390,14 @@ static DhcState state_table[] = {
        { DHC_REBIND4, "rebind" },
        { DHC_REBIND6, "rebind6" },
        { DHC_STOP,    "stop" },
+       { DHC_STOP6,   "stop6" },
        { DHC_MEDIUM,  "medium" },
        { DHC_TIMEOUT, "timeout" },
        { DHC_FAIL,    "fail" },
        { DHC_EXPIRE,  "expire" },
+       { DHC_EXPIRE6, "expire6" },
        { DHC_RELEASE, "release" },
+       { DHC_RELEASE6,"release6" },
        { DHC_START,   "start" },
        { DHC_ABEND,   "abend" },
        { DHC_END,     "end" },
index 2ebb5a7..146cf57 100644 (file)
@@ -53,11 +53,14 @@ typedef enum {
        DHC_REBIND6,     /* IPv6 new/different lease */
        DHC_DEPREF6,     /* IPv6 lease depreferred */
        DHC_STOP,        /* remove old lease */
+       DHC_STOP6,       /* remove old lease */
        DHC_MEDIUM,      /* media selection begun */
        DHC_TIMEOUT,     /* timed out contacting DHCP server */
        DHC_FAIL,        /* all attempts to contact server timed out, sleeping */
        DHC_EXPIRE,      /* lease has expired, renewing */
+       DHC_EXPIRE6,     /* lease has expired, renewing */
        DHC_RELEASE,     /* releasing lease */
+       DHC_RELEASE6,    /* releasing lease */
        DHC_START,       /* sent when dhclient started OK */
        DHC_ABEND,       /* dhclient exited abnormally */
        DHC_END,         /* dhclient exited normally */