summaryrefslogtreecommitdiff
path: root/usr/src/cmd/zoneadmd/vplat.c
diff options
context:
space:
mode:
authorJerry Jelinek <jerry.jelinek@joyent.com>2011-03-02 06:01:42 -0800
committerJerry Jelinek <jerry.jelinek@joyent.com>2011-03-02 06:01:42 -0800
commitfa9b9945bd7803ffdb04bcd69a2c04e14ca852fc (patch)
tree0efae6db13c532bb3064695e043a24d9ff377b1b /usr/src/cmd/zoneadmd/vplat.c
parentcbf2f3a90bbac3c575e6e427e9acadfafb036eda (diff)
downloadillumos-joyent-fa9b9945bd7803ffdb04bcd69a2c04e14ca852fc.tar.gz
OS-249 extend dladm subcommands to have better support for zones
Diffstat (limited to 'usr/src/cmd/zoneadmd/vplat.c')
-rw-r--r--usr/src/cmd/zoneadmd/vplat.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/usr/src/cmd/zoneadmd/vplat.c b/usr/src/cmd/zoneadmd/vplat.c
index 70cb1c4d75..d708567764 100644
--- a/usr/src/cmd/zoneadmd/vplat.c
+++ b/usr/src/cmd/zoneadmd/vplat.c
@@ -2947,12 +2947,10 @@ configure_exclusive_network_interfaces(zlog_t *zlogp, zoneid_t zoneid)
nwiftab.zone_nwif_physical) == 0) {
added = B_TRUE;
} else {
- char emsg[80 + LIFNAMSIZ];
-
- (void) snprintf(emsg, sizeof (emsg),
- "failed to add network device %s",
- nwiftab.zone_nwif_physical);
- zerror(zlogp, B_FALSE, emsg);
+ /*
+ * Failed to add network device, but the brand hook
+ * might be doing this for us, so keep silent.
+ */
continue;
}
/* set up the new IP interface, and add them all later */