diff options
| author | Roy Marples <roy@marples.name> | 2018-04-19 21:44:41 +0100 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2018-04-19 21:44:41 +0100 |
| commit | 276b09d9454701805dfff3319615af9498c4ed40 (patch) | |
| tree | 625585253667a1cd4c23e6bf4d5385de754db2c5 | |
| parent | 47cfa60eb860e6edf16be7bbd3c9b8043d754343 (diff) | |
| download | dhcpcd-276b09d9454701805dfff3319615af9498c4ed40.tar.xz | |
logerr -> logerrx
| -rw-r--r-- | src/ipv6nd.c | 8 |
1 files 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; |
