Module Name: src
Committed By: martin
Date: Sun Apr 12 17:57:13 UTC 2020
Modified Files:
src/external/bsd/dhcpcd/dist/src [netbsd-9]: dhcp6.c
Log Message:
Fix SMALL builds (requested by roy informally)
To generate a diff of this commit:
cvs rdiff -u -r1.11.2.6 -r1.11.2.7 src/external/bsd/dhcpcd/dist/src/dhcp6.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/bsd/dhcpcd/dist/src/dhcp6.c
diff -u src/external/bsd/dhcpcd/dist/src/dhcp6.c:1.11.2.6 src/external/bsd/dhcpcd/dist/src/dhcp6.c:1.11.2.7
--- src/external/bsd/dhcpcd/dist/src/dhcp6.c:1.11.2.6 Sun Apr 12 17:33:24 2020
+++ src/external/bsd/dhcpcd/dist/src/dhcp6.c Sun Apr 12 17:57:13 2020
@@ -2950,11 +2950,13 @@ dhcp6_bind(struct interface *ifp, const
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";