# HG changeset patch
# User Zhengang Li <lizg(a)cn.ibm.com>
# Date 1195194642 -28800
# Node ID fcc119ccdfa54df6f6296d2174670042b7b6d75a
# Parent 99988c7788133e216451cc0c1f3440260e996fbf
Add bridge network type
Signed-off-by: Zhengang Li <lizg(a)cn.ibm.com>
diff -r 99988c778813 -r fcc119ccdfa5 src/Virt_Device.c
--- a/src/Virt_Device.c Fri Nov 16 14:24:36 2007 +0800
+++ b/src/Virt_Device.c Fri Nov 16 14:30:42 2007 +0800
@@ -47,7 +47,8 @@ static int net_set_type(CMPIInstance *in
{
uint16_t cim_type;
- if (STREQC(dev->type, "ethernet"))
+ if (STREQC(dev->type, "ethernet") ||
+ STREQC(dev->type, "bridge"))
cim_type = CIM_NET_ETHERNET;
else
cim_type = CIM_NET_UNKNOWN;
Show replies by date