# HG changeset patch
# User Eduardo Lima (Etrunko) <eblima(a)br.ibm.com>
# Date 1308246930 10800
# Node ID 6c29c5b284443e226e7d97e7e5f11848b0c4e761
# Parent a37f80f80d4b2dab73391989168592866c23ba9b
[NetRASD]: Fill up NetworkName attribute for non-bridged network
This patch fixes the behavior for the read operation.
Signed-off-by: Eduardo Lima (Etrunko) <eblima(a)br.ibm.com>
diff --git a/src/Virt_RASD.c b/src/Virt_RASD.c
--- a/src/Virt_RASD.c
+++ b/src/Virt_RASD.c
@@ -370,8 +370,7 @@
(CMPIValue *)dev->dev.net.mac,
CMPI_chars);
- if ((dev->dev.net.source != NULL) &&
- (STREQ(dev->dev.net.type, "bridge")))
+ if (dev->dev.net.source != NULL)
CMSetProperty(inst,
"NetworkName",
(CMPIValue *)dev->dev.net.source,