X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=xenserver%2Fetc_xensource_scripts_vif;h=c3baba9e0d0c8eb7614b68642b7034e065f4024a;hb=31118b510ebab50dd0cf05db1dd472f51e1af800;hp=aebb4ccdac59771dbf03b81b66f5a6f6de173070;hpb=f304568eaa5a160ebc2031b84abc3337771612b2;p=openvswitch diff --git a/xenserver/etc_xensource_scripts_vif b/xenserver/etc_xensource_scripts_vif index aebb4ccd..c3baba9e 100755 --- a/xenserver/etc_xensource_scripts_vif +++ b/xenserver/etc_xensource_scripts_vif @@ -1,8 +1,6 @@ #!/bin/sh -# This file is based on /etc/xensource/script/vif from Citrix XenServer 5.0.0. -# The original file did not contain a copyright notice or license statement. -# +# Copyright (C) 2008,2009 Citrix Systems, Inc. All rights reserved. # Copyright (C) 2009 Nicira Networks, Inc. # CA-23900: Warning: when VIFs are added to windows guests with PV drivers the backend vif device is registered, @@ -33,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 }