* commit '69626dab17f9e059cfa2e8c3ce4ec9aaa5f9853e': Make addAddress locale safe
This commit is contained in:
committed by
Android Git Automerger
commit
959c05a122
@@ -329,7 +329,7 @@ public class VpnService extends Service {
|
||||
throw new IllegalArgumentException("Bad address");
|
||||
}
|
||||
|
||||
mAddresses.append(String.format(" %s/%d", address.getHostAddress(), prefixLength));
|
||||
mAddresses.append(' ' + address.getHostAddress() + '/' + prefixLength);
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user