Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-9]: src/external/bsd/dhcpcd/dist/src Fix SMALL builds (requested ...



details:   https://anonhg.NetBSD.org/src/rev/8c5a94973f4a
branches:  netbsd-9
changeset: 963780:8c5a94973f4a
user:      martin <martin%NetBSD.org@localhost>
date:      Sun Apr 12 17:57:13 2020 +0000

description:
Fix SMALL builds (requested by roy informally)

diffstat:

 external/bsd/dhcpcd/dist/src/dhcp6.c |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (17 lines):

diff -r 8abe982e788e -r 8c5a94973f4a external/bsd/dhcpcd/dist/src/dhcp6.c
--- a/external/bsd/dhcpcd/dist/src/dhcp6.c      Sun Apr 12 17:34:34 2020 +0000
+++ b/external/bsd/dhcpcd/dist/src/dhcp6.c      Sun Apr 12 17:57:13 2020 +0000
@@ -2950,11 +2950,13 @@
        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";



Home | Main Index | Thread Index | Old Index