diff options
| author | Roy Marples <roy@marples.name> | 2020-04-23 14:33:48 +0100 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2020-04-23 14:33:48 +0100 |
| commit | 0bf8e505a463196aac78a9e3b054c25b122983ab (patch) | |
| tree | 9d8dbd1ff3d6d50aeb2bae420fc81361e4150b61 /src/ipv6.c | |
| parent | 422cab4f623bc1e613925c8a26ea3203c72cc996 (diff) | |
| download | dhcpcd-0bf8e505a463196aac78a9e3b054c25b122983ab.tar.xz | |
Rename ifp->family -> ifp->hwtype so it's less confusing
Diffstat (limited to 'src/ipv6.c')
| -rw-r--r-- | src/ipv6.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1406,7 +1406,7 @@ ipv6_addlinklocal(struct interface *ifp) /* Check sanity before malloc */ if (!(ifp->options->options & DHCPCD_SLAACPRIVATE)) { - switch (ifp->family) { + switch (ifp->hwtype) { case ARPHRD_ETHER: /* Check for a valid hardware address */ if (ifp->hwlen != 6 && ifp->hwlen != 8) { @@ -1446,7 +1446,7 @@ nextslaacprivate: ap->dadcounter = dadcounter; } else { memcpy(ap->addr.s6_addr, ap->prefix.s6_addr, 8); - switch (ifp->family) { + switch (ifp->hwtype) { case ARPHRD_ETHER: if (ifp->hwlen == 6) { ap->addr.s6_addr[ 8] = ifp->hwaddr[0]; |
