]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
logerr -> logerrx
authorRoy Marples <roy@marples.name>
Thu, 19 Apr 2018 20:44:41 +0000 (21:44 +0100)
committerRoy Marples <roy@marples.name>
Thu, 19 Apr 2018 20:44:41 +0000 (21:44 +0100)
src/ipv6nd.c

index c8c2e54d79f33b4ba752c97d4dee9c19985d6d21..f059fb07bc377c6f3c32be998e78d96ecf4621a8 100644 (file)
@@ -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;