]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
minor cleanup
authorRoy Marples <roy@marples.name>
Wed, 10 Jun 2020 13:16:08 +0000 (14:16 +0100)
committerRoy Marples <roy@marples.name>
Wed, 10 Jun 2020 13:16:08 +0000 (14:16 +0100)
src/ipv6nd.c
src/privsep-control.c

index 504e647dd9f4edca683225a98ea8e26047b5d7eb..4e904292a7318090f31d00c35eb4c340ea2adc77 100644 (file)
@@ -1155,10 +1155,8 @@ ipv6nd_handlera(struct dhcpcd_ctx *ctx,
                if (ifp == rap->iface)
                        break;
        }
-       if (rap != NULL && rap->willexpire) {
-               logerrx("settng def RA");
+       if (rap != NULL && rap->willexpire)
                ipv6nd_applyra(ifp);
-       }
 #endif
 
        TAILQ_FOREACH(rap, ctx->ra_routers, next) {
index f54ded09f454fb7588eddc9801f5c176989b4101..ba8dff0945b6dba9742892ed96f12c6a8e68de11 100644 (file)
@@ -169,7 +169,6 @@ ps_ctl_dispatch(void *arg, struct ps_msghdr *psm, struct msghdr *msg)
                control_recvdata(fd, iov->iov_base, iov->iov_len);
                break;
        case PS_CTL_EOF:
-               fd = ctx->ps_control_client;
                control_free(ctx->ps_control_client);
                break;
        default: