config: make loadData private
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
parent
6f48e138a4
commit
fec5fa8caf
@ -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();
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user