diff options
Diffstat (limited to 'usr/src/cmd/dlmgmtd/dlmgmt_door.c')
| -rw-r--r-- | usr/src/cmd/dlmgmtd/dlmgmt_door.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/cmd/dlmgmtd/dlmgmt_door.c b/usr/src/cmd/dlmgmtd/dlmgmt_door.c index 11e4329669..8da1635bb6 100644 --- a/usr/src/cmd/dlmgmtd/dlmgmt_door.c +++ b/usr/src/cmd/dlmgmtd/dlmgmt_door.c @@ -21,6 +21,7 @@ /* * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright 2017 Joyent, Inc. */ /* @@ -1232,8 +1233,7 @@ dlmgmt_setzoneid(void *argp, void *retp, size_t *sz, zoneid_t zoneid, * Before we remove the link from its current zone, make sure that * there isn't a link with the same name in the destination zone. */ - if (zoneid != GLOBAL_ZONEID && - link_by_name(linkp->ll_link, newzoneid) != NULL) { + if (link_by_name(linkp->ll_link, newzoneid) != NULL) { err = EEXIST; goto done; } |
