From 276b09d9454701805dfff3319615af9498c4ed40 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Thu, 19 Apr 2018 21:44:41 +0100 Subject: [PATCH] logerr -> logerrx --- src/ipv6nd.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/ipv6nd.c b/src/ipv6nd.c index c8c2e54d..f059fb07 100644 --- a/src/ipv6nd.c +++ b/src/ipv6nd.c @@ -764,25 +764,25 @@ ipv6nd_handlera(struct dhcpcd_ctx *ctx, struct interface *ifp, } if (len < sizeof(struct nd_router_advert)) { - logerr("IPv6 RA packet too short from %s", ctx->sfrom); + logerrx("IPv6 RA packet too short from %s", ctx->sfrom); return; } /* RFC 4861 7.1.2 */ if (hoplimit != 255) { - logerr("invalid hoplimit(%d) in RA from %s", + logerrx("invalid hoplimit(%d) in RA from %s", hoplimit, ctx->sfrom); return; } if (!IN6_IS_ADDR_LINKLOCAL(&ctx->from.sin6_addr)) { - logerr("RA from non local address %s", ctx->sfrom); + logerrx("RA from non local address %s", ctx->sfrom); return; } if (!(ifp->options->options & DHCPCD_IPV6RS)) { #ifdef DEBUG_RS - logerr("%s: unexpected RA from %s", + logerrx("%s: unexpected RA from %s", ifp->name, ctx->sfrom); #endif return; -- 2.47.2