Skip to content

Commit

Permalink
refactored for readability
Browse files Browse the repository at this point in the history
  • Loading branch information
Yorgos Saslis committed Apr 13, 2018
1 parent af6117b commit 1119690
Showing 1 changed file with 4 additions and 3 deletions.
Expand Up @@ -886,10 +886,11 @@ if [ -z "$MS_ADDRESS" ]; then
MS_ADDRESS=$BIND_ADDRESS
fi

if [ "a" -ne "a$MGCP_LOCAL_ADDRESS" ]; then
MGCP_ADDRESS=$MGCP_LOCAL_ADDRESS
else
if [ "a" == "a$MGCP_LOCAL_ADDRESS" ]; then
# $MGCP_LOCAL_ADDRESS is empty, so just use bind address
MGCP_ADDRESS=$BIND_ADDRESS
else
MGCP_ADDRESS=$MGCP_LOCAL_ADDRESS
fi

configDidProvisionManager "$DID_LOGIN" "$DID_PASSWORD" "$DID_ENDPOINT" "$DID_SITEID" "$HOSTFORDID" "$DID_ACCOUNTID" "$SMPP_SYSTEM_TYPE" "$DID_URIPORT"
Expand Down

0 comments on commit 1119690

Please sign in to comment.