diff options
author | Ryan Goodfellow <ryan.goodfellow@oxide.computer> | 2022-05-20 08:12:11 +0000 |
---|---|---|
committer | Robert Mustacchi <rm@fingolfin.org> | 2022-05-25 21:04:54 +0000 |
commit | 662993c9b2fd7e3e0a5c2e535902c2360206095a (patch) | |
tree | e418b5639083a53400b8da4a8347f9e2544bd566 /usr | |
parent | d8e10381a0083d7717710b0db7e64707bc0f3ff8 (diff) | |
download | illumos-joyent-662993c9b2fd7e3e0a5c2e535902c2360206095a.tar.gz |
14581 ipadm could not create address after delete-addr for addrconf
Reviewed by: C Fraire <cfraire@me.com>
Reviewed by: Dan McDonald <danmcd@joyent.com>
Reviewed by: Ryan Zezeski <ryan@oxide.computer>
Approved by: Robert Mustacchi <rm@fingolfin.org>
Diffstat (limited to 'usr')
-rw-r--r-- | usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_door.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_door.c b/usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_door.c index b446b2ffa4..e3f18fea71 100644 --- a/usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_door.c +++ b/usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_door.c @@ -23,6 +23,7 @@ * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2016-2017, Chris Fraire <cfraire@me.com>. * Copyright 2021, Tintri by DDN. All rights reserved. + * Copyright 2022, Oxide Computer Company. */ /* @@ -401,6 +402,9 @@ ipmgmt_aobjop_handler(void *argp) sizeof (node.am_ifname)); node.am_family = af; node.am_atype = atype; + if (atype == IPADM_ADDR_IPV6_ADDRCONF) { + node.ipmgmt_am_linklocal = B_TRUE; + } /* no logical number is associated with this addrobj yet */ node.am_lnum = -1; /* The address object is not persisted yet. */ |