From a94598861bf29735f0901bb5223c376f11a75a0e Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Sat, 28 Mar 2020 17:52:52 +0000 Subject: [PATCH] script: Start RA addresses from 1, not 0. --- src/ipv6nd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ipv6nd.c b/src/ipv6nd.c index 1fd35e11..21a35889 100644 --- a/src/ipv6nd.c +++ b/src/ipv6nd.c @@ -1582,7 +1582,7 @@ ipv6nd_env(FILE *fp, const struct interface *ifp) ia->prefix_vltime == 0) continue; if (efprintf(fp, "%s_addr%zu=%s", - ndprefix, j++, ia->saddr) == -1) + ndprefix, ++j, ia->saddr) == -1) return -1; } } -- 2.47.2