config: make loadData private

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
Jason A. Donenfeld 2018-07-13 04:06:55 +02:00
parent 6f48e138a4
commit fec5fa8caf
2 changed files with 2 additions and 2 deletions

View File

@ -331,7 +331,7 @@ public class Interface {
return publicKey;
}
protected void loadData(final Interface parent) {
private void loadData(final Interface parent) {
addresses = parent.getAddressString();
dnses = parent.getDnsString();
excludedApplications = parent.getExcludedApplicationsString();

View File

@ -315,7 +315,7 @@ public class Peer {
return publicKey;
}
protected void loadData(final Peer parent) {
private void loadData(final Peer parent) {
allowedIPs = parent.getAllowedIPsString();
endpoint = parent.getEndpointString();
persistentKeepalive = parent.getPersistentKeepaliveString();