Mercurial > hg > dhcpcd
changeset 4963:c15d5bf525c1 draft
DHCP6: Fix a bogus compile warning
| author | Roy Marples <roy@marples.name> |
|---|---|
| date | Wed, 15 Jan 2020 19:18:35 +0300 |
| parents | 854219946ad4 |
| children | f148a1b8a6e5 |
| files | src/dhcp6.c |
| diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/dhcp6.c Wed Jan 15 16:07:27 2020 +0000 +++ b/src/dhcp6.c Wed Jan 15 19:18:35 2020 +0300 @@ -1220,7 +1220,7 @@ broad_uni = "unicasting"; } - if (!callback) + if (!callback) { logdebugx("%s: %s %s with xid 0x%02x%02x%02x", ifp->name, broad_uni, @@ -1228,7 +1228,8 @@ state->send->xid[0], state->send->xid[1], state->send->xid[2]); - else { + RT = 0; + } else { if (state->IMD && !(ifp->options->options & DHCPCD_INITIAL_DELAY)) state->IMD = 0;
