diff options
| author | Roy Marples <roy@marples.name> | 2014-10-09 20:09:51 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2014-10-09 20:09:51 +0000 |
| commit | 0d593c43aba76f59dc45c0157175aa42b580a0e2 (patch) | |
| tree | 83d8c286729c8e04c3d90329b9f24e9d1583a277 /ipv6nd.c | |
| parent | a1bbf4f6ebe144d7df5115a8dd6506be5ebb6bf8 (diff) | |
| download | dhcpcd-0d593c43aba76f59dc45c0157175aa42b580a0e2.tar.xz | |
Fix exporting ra values with multiple interfaces
Diffstat (limited to 'ipv6nd.c')
| -rw-r--r-- | ipv6nd.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1155,9 +1155,9 @@ ipv6nd_env(char **env, const char *prefix, const struct interface *ifp) i = l = 0; TAILQ_FOREACH(rap, ifp->ctx->ipv6->ra_routers, next) { - i++; if (rap->iface != ifp) continue; + i++; if (env) { snprintf(buffer, sizeof(buffer), "ra%zu_from", i); |
