diff options
| author | Roy Marples <roy@marples.name> | 2016-02-15 09:44:58 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2016-02-15 09:44:58 +0000 |
| commit | 5119f4f3d39237bfc5c3b3b5b1b0c72901fe276c (patch) | |
| tree | 13fa3fe3aeb9721d60cebacfc429df712fe73a9e /ipv6nd.c | |
| parent | 0b3560152cff92dbc47e1fd934954178f8c99e54 (diff) | |
| download | dhcpcd-5119f4f3d39237bfc5c3b3b5b1b0c72901fe276c.tar.xz | |
Fix compile on BSD, [7e6b5d07d5]
Diffstat (limited to 'ipv6nd.c')
| -rw-r--r-- | ipv6nd.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1007,7 +1007,8 @@ ipv6nd_handlera(struct dhcpcd_ctx *dctx, struct interface *ifp, * temporary address also exists then * extend the existing one rather than * create a new one */ - if (ipv6_iffindaddr(ifp, &ap->addr) && + if (ipv6_iffindaddr(ifp, &ap->addr, + IN6_IFF_NOTUSEABLE) && ipv6_settemptime(ap, 0)) new_ap = 0; else |
