diff options
| author | Roy Marples <roy@marples.name> | 2020-04-23 14:15:41 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2020-04-23 14:15:41 +0000 |
| commit | 1a1e7aa075784a2ff0a3ab4b6d45aa3b6a83850a (patch) | |
| tree | bc46aa14bf60a57da0ed5b6f923cd98741377555 /src/if-bsd.c | |
| parent | 910c7cd1e8b589e935f6d405d0c850b62656f3cc (diff) | |
| download | dhcpcd-1a1e7aa075784a2ff0a3ab4b6d45aa3b6a83850a.tar.xz | |
if: support changing hardware address type on Linux
Diffstat (limited to 'src/if-bsd.c')
| -rw-r--r-- | src/if-bsd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/if-bsd.c b/src/if-bsd.c index 47e3e57b..e5189112 100644 --- a/src/if-bsd.c +++ b/src/if-bsd.c @@ -1330,7 +1330,8 @@ if_ifa(struct dhcpcd_ctx *ctx, const struct ifa_msghdr *ifam) break; #endif memcpy(&sdl, rti_info[RTAX_IFA], rti_info[RTAX_IFA]->sa_len); - dhcpcd_handlehwaddr(ctx, ifp->name, CLLADDR(&sdl),sdl.sdl_alen); + dhcpcd_handlehwaddr(ifp, ifp->hwtype, + CLLADDR(&sdl), sdl.sdl_alen); break; } #ifdef INET |
