]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Fix build with DEBUG_NS
authorRoy Marples <roy@marples.name>
Mon, 10 Oct 2016 08:04:34 +0000 (08:04 +0000)
committerRoy Marples <roy@marples.name>
Mon, 10 Oct 2016 08:04:34 +0000 (08:04 +0000)
ipv6nd.c

index 103b332f4ed3218f53f09501597ca9bd73766e33..91a097bc5f186efae3d10bed5306099e19c704d9 100644 (file)
--- a/ipv6nd.c
+++ b/ipv6nd.c
@@ -1484,8 +1484,8 @@ ipv6nd_handlena(struct dhcpcd_ctx *dctx, struct interface *ifp,
 
        if (ifp == NULL) {
 #ifdef DEBUG_NS
-               logger(ctx, LOG_DEBUG, "NA for unexpected interface from %s",
-                   dctx->sfrom);
+               logger(dctx, LOG_DEBUG, "NA for unexpected interface from %s",
+                   ctx->sfrom);
 #endif
                return;
        }