]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Fix small builds.
authorRoy Marples <roy@marples.name>
Sun, 12 Apr 2020 17:56:11 +0000 (18:56 +0100)
committerRoy Marples <roy@marples.name>
Sun, 12 Apr 2020 17:56:11 +0000 (18:56 +0100)
src/dhcp6.c

index 9517f15602db36f3afc62918df87594afefdc6aa..8c976419ab0c5b36a5ca94b857eebab03aaad767 100644 (file)
@@ -2950,11 +2950,13 @@ dhcp6_bind(struct interface *ifp, const char *op, const char *sfrom)
        if (!timedout) {
                logmessage(loglevel, "%s: %s received from %s",
                    ifp->name, op, sfrom);
+#ifndef SMALL
                /* If we delegated from an unconfirmed lease we MUST drop
                 * them now. Hopefully we have new delegations. */
                if (state->reason != NULL &&
                    strcmp(state->reason, "TIMEOUT6") == 0)
                        dhcp6_delete_delegates(ifp);
+#endif
                state->reason = NULL;
        } else
                state->reason = "TIMEOUT6";