Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:olh:xen-4.6
xen
xen.0a627988c15011f84ec576cfa8db5006a82d1591.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xen.0a627988c15011f84ec576cfa8db5006a82d1591.patch of Package xen
From: Olaf Hering <olaf@aepfle.de> Date: Thu, 19 Nov 2015 08:32:52 +0000 Subject: 0a627988c15011f84ec576cfa8db5006a82d1591 tools/hotplug: quote all variables in vif-bridge Cosmetics: most of the variables used in vif-bridge are already quoted. Add quoting also to the remaining shell variables. Signed-off-by: Olaf Hering <olaf@aepfle.de> Cc: Ian Jackson <ian.jackson@eu.citrix.com> Cc: Stefano Stabellini <stefano.stabellini@eu.citrix.com> Cc: Ian Campbell <ian.campbell@citrix.com> Cc: Wei Liu <wei.liu2@citrix.com> Acked-by: Ian Campbell <ian.campbell@citrix.com> --- tools/hotplug/Linux/vif-bridge | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- a/tools/hotplug/Linux/vif-bridge +++ b/tools/hotplug/Linux/vif-bridge @@ -59,45 +59,45 @@ else # This lets old config files work without modification # if [ ! -e "/sys/class/net/$bridge" ] && [ -z "${bridge##xenbr*}" ] then if [ -e "/sys/class/net/eth${bridge#xenbr}/bridge" ] then bridge="eth${bridge#xenbr}" fi fi fi RET=0 -ip link show dev $bridge 1>/dev/null 2>&1 || RET=1 +ip link show dev "$bridge" 1>/dev/null 2>&1 || RET=1 if [ "$RET" -eq 1 ] then fatal "Could not find bridge device $bridge" fi case "$command" in online) setup_virtual_bridge_port "$dev" - set_mtu $bridge $dev + set_mtu "$bridge" "$dev" add_to_bridge "$bridge" "$dev" ;; offline) do_without_error brctl delif "$bridge" "$dev" do_without_error ifconfig "$dev" down ;; add) setup_virtual_bridge_port "$dev" - set_mtu $bridge $dev + set_mtu "$bridge" "$dev" add_to_bridge "$bridge" "$dev" ;; esac handle_iptable call_hooks vif post log debug "Successful vif-bridge $command for $dev, bridge $bridge." if [ "$type_if" = vif -a "$command" = "online" ] then success
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor