changeset 5346:3ceefc13699e draft

minor cleanup
author Roy Marples <roy@marples.name>
date Wed, 10 Jun 2020 14:16:08 +0100
parents f6051f78e441
children fabb85fb8e37
files src/ipv6nd.c src/privsep-control.c
diffstat 2 files changed, 1 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/ipv6nd.c	Wed Jun 10 11:16:14 2020 +0100
+++ b/src/ipv6nd.c	Wed Jun 10 14:16:08 2020 +0100
@@ -1155,10 +1155,8 @@
 		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) {
--- a/src/privsep-control.c	Wed Jun 10 11:16:14 2020 +0100
+++ b/src/privsep-control.c	Wed Jun 10 14:16:08 2020 +0100
@@ -169,7 +169,6 @@
 		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: