]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Fix reconfigure behaviour
authorRoy Marples <roy@marples.name>
Mon, 10 Mar 2014 17:37:24 +0000 (17:37 +0000)
committerRoy Marples <roy@marples.name>
Mon, 10 Mar 2014 17:37:24 +0000 (17:37 +0000)
dhcp6.c

diff --git a/dhcp6.c b/dhcp6.c
index c429a5c03dddc0e96bf3f5e4aa06b410917ef52c..4bd6b9ca8834833567c34d80a8c5de16769462b6 100644 (file)
--- a/dhcp6.c
+++ b/dhcp6.c
@@ -82,6 +82,7 @@ static const struct dhcp6_op dhcp6_ops[] = {
        { DHCP6_CONFIRM, "CONFIRM6" },
        { DHCP6_INFORMATION_REQ, "INFORM6" },
        { DHCP6_RELEASE, "RELEASE6" },
+       { DHCP6_RECONFIGURE, "RECONFIURE6" },
        { 0, NULL }
 };
 
@@ -2283,9 +2284,9 @@ dhcp6_handledata(void *arg)
                        syslog(LOG_ERR,
                            "%s: unsupported Reconfigure Message type",
                            ifp->name);
-                       return;
+                       break;
                }
-               break;
+               return;
        default:
                syslog(LOG_ERR, "%s: invalid DHCP6 type %s (%d)",
                    ifp->name, op, r->type);