diff --git a/router/java/src/net/i2p/router/transport/udp/OutboundEstablishState.java b/router/java/src/net/i2p/router/transport/udp/OutboundEstablishState.java index 7919d534f9a3e37f6a9b180bdd8385be2d361625..df2068d663c13d9272f57997fa961bda6276e32c 100644 --- a/router/java/src/net/i2p/router/transport/udp/OutboundEstablishState.java +++ b/router/java/src/net/i2p/router/transport/udp/OutboundEstablishState.java @@ -177,7 +177,7 @@ class OutboundEstablishState { * * @since 0.9.54 */ - public OutboundEstablishState(RouterContext ctx, RemoteHostId claimedAddress, + protected OutboundEstablishState(RouterContext ctx, RemoteHostId claimedAddress, RemoteHostId remoteHostId, RouterIdentity remotePeer, boolean needIntroduction, diff --git a/router/java/src/net/i2p/router/transport/udp/PacketBuilder2.java b/router/java/src/net/i2p/router/transport/udp/PacketBuilder2.java index 826d7907e3bbb5243b968cfcbdeadad09a9c492b..b1da0f0ad9255cbeb677f5235fb5c0de27230e6d 100644 --- a/router/java/src/net/i2p/router/transport/udp/PacketBuilder2.java +++ b/router/java/src/net/i2p/router/transport/udp/PacketBuilder2.java @@ -725,7 +725,7 @@ class PacketBuilder2 { * * @return null on failure */ - private UDPPacket buildRelayRequest(byte[] signedData, PeerState2 bob) { + UDPPacket buildRelayRequest(byte[] signedData, PeerState2 bob) { Block block = new SSU2Payload.RelayRequestBlock(signedData); UDPPacket rv = buildPacket(Collections.emptyList(), Collections.singletonList(block), bob); rv.setMessageType(TYPE_RREQ);