Version bump
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
		
							parent
							
								
									19b57c41b7
								
							
						
					
					
						commit
						fbaa4d9ab1
					
				| @ -16,8 +16,8 @@ android { | |||||||
|         applicationId 'com.wireguard.android' |         applicationId 'com.wireguard.android' | ||||||
|         minSdkVersion 21 |         minSdkVersion 21 | ||||||
|         targetSdkVersion 27 |         targetSdkVersion 27 | ||||||
|         versionCode 430 |         versionCode 432 | ||||||
|         versionName '0.0.20180710' |         versionName '0.0.20180711' | ||||||
|     } |     } | ||||||
|     // If the keystore file exists |     // If the keystore file exists | ||||||
|     if (keystorePropertiesFile.exists()) { |     if (keystorePropertiesFile.exists()) { | ||||||
|  | |||||||
| @ -26,6 +26,8 @@ import java.util.HashSet; | |||||||
| import java.util.List; | import java.util.List; | ||||||
| import java.util.Locale; | import java.util.Locale; | ||||||
| 
 | 
 | ||||||
|  | import java9.lang.Iterables; | ||||||
|  | 
 | ||||||
| /** | /** | ||||||
|  * Represents the configuration for a WireGuard peer (a [Peer] block). |  * Represents the configuration for a WireGuard peer (a [Peer] block). | ||||||
|  */ |  */ | ||||||
| @ -262,7 +264,7 @@ public class Peer { | |||||||
|             final boolean hasDefaultRouteModRFC1918 = ips.containsAll(DEFAULT_ROUTE_MOD_RFC1918_V4); |             final boolean hasDefaultRouteModRFC1918 = ips.containsAll(DEFAULT_ROUTE_MOD_RFC1918_V4); | ||||||
|             if ((!hasDefaultRoute && !hasDefaultRouteModRFC1918) || numSiblings > 0) |             if ((!hasDefaultRoute && !hasDefaultRouteModRFC1918) || numSiblings > 0) | ||||||
|                 return; |                 return; | ||||||
|             ips.clear(); |             Iterables.removeIf(ips, ip -> !ip.contains(":")); | ||||||
|             if (hasDefaultRoute) { |             if (hasDefaultRoute) { | ||||||
|                 ips.addAll(DEFAULT_ROUTE_MOD_RFC1918_V4); |                 ips.addAll(DEFAULT_ROUTE_MOD_RFC1918_V4); | ||||||
|                 ips.addAll(interfaceDNSRoutes); |                 ips.addAll(interfaceDNSRoutes); | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user