Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP1:GA
resource-agents.1159
0002-Low-findif.sh-Allow-and-as-broadcast-argum...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0002-Low-findif.sh-Allow-and-as-broadcast-arguments-bsc-9.patch of Package resource-agents.1159
From 83d53ec53d66798b06fcc3b569d9eb61c01ada38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristoffer=20Gr=C3=B6nlund?= <krig@koru.se> Date: Fri, 11 Sep 2015 08:51:26 +0200 Subject: [PATCH 2/3] Low: findif.sh: Allow + and - as broadcast arguments (bsc#940931) --- heartbeat/findif.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/heartbeat/findif.sh b/heartbeat/findif.sh index fd92d9b..cfe23dc 100644 --- a/heartbeat/findif.sh +++ b/heartbeat/findif.sh @@ -106,8 +106,10 @@ findif_check_params() if [ -n "$brdcast" ] ; then ipcheck_ipv4 $brdcast if [ $? = 1 ] ; then - ocf_log err "Invalid broadcast address [$brdcast]." - return $OCF_ERR_CONFIGURED + if [ "$brdcast" != "+" -a "$brdcast" != "-" ]; then + ocf_log err "Invalid broadcast address [$brdcast]." + return $OCF_ERR_CONFIGURED + fi fi fi fi -- 2.5.1
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