xenserver: Have ovs-brcompatd's log file rotated
[openvswitch] / xenserver / etc_xensource_scripts_vif
index fb7517ad550a02817db2f5ad7a4e03a53d8b9542..c3baba9e0d0c8eb7614b68642b7034e065f4024a 100755 (executable)
@@ -31,8 +31,8 @@ handle_promiscuous()
     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
 }