summaryrefslogtreecommitdiffstats
path: root/scripts/oe-git-proxy
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/oe-git-proxy')
-rwxr-xr-xscripts/oe-git-proxy1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/oe-git-proxy b/scripts/oe-git-proxy
index 48734556a1..24732829fb 100755
--- a/scripts/oe-git-proxy
+++ b/scripts/oe-git-proxy
@@ -53,6 +53,7 @@ match_ipv4() {
53 53
54 # Determine the mask bitlength 54 # Determine the mask bitlength
55 BITS=${CIDR##*/} 55 BITS=${CIDR##*/}
56 [ "$BITS" != "$CIDR" ] || BITS=32
56 if [ -z "$BITS" ]; then 57 if [ -z "$BITS" ]; then
57 return 1 58 return 1
58 fi 59 fi