From: Roy Marples Date: Sun, 12 Apr 2020 17:56:11 +0000 (+0100) Subject: Fix small builds. X-Git-Tag: v8.1.9~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9c81bac09510c1d45f756cd1ddbc7e7dfc9219e6;p=thirdparty%2Fdhcpcd.git Fix small builds. --- diff --git a/src/dhcp6.c b/src/dhcp6.c index 9517f156..8c976419 100644 --- a/src/dhcp6.c +++ b/src/dhcp6.c @@ -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";