projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
xenserver: Avoid "rpm -i" warnings on XenServer 5.5.900.
[openvswitch]
/
xenserver
/
etc_xensource_scripts_vif
diff --git
a/xenserver/etc_xensource_scripts_vif
b/xenserver/etc_xensource_scripts_vif
index fb7517ad550a02817db2f5ad7a4e03a53d8b9542..c3baba9e0d0c8eb7614b68642b7034e065f4024a 100755
(executable)
--- a/
xenserver/etc_xensource_scripts_vif
+++ b/
xenserver/etc_xensource_scripts_vif
@@
-31,8
+31,8
@@
handle_promiscuous()
local arg=$(xenstore-read "${PRIVATE}/other-config/promiscuous")
if [ $? -eq 0 -a -n "${arg}" ] ; then
case "${arg}" in
local arg=$(xenstore-read "${PRIVATE}/other-config/promiscuous")
if [ $? -eq 0 -a -n "${arg}" ] ; then
case "${arg}" in
- true|on)
echo 1 > /sys/class/net/${vif}/brport/promisc
;;
- *)
echo 0 > /sys/class/net/${vif}/brport/promisc
;;
+ true|on)
logger -t script-vif "${vif}: Promiscuous ports are not supported via vSwitch."
;;
+ *) ;;
esac
fi
}
esac
fi
}