summaryrefslogtreecommitdiff
path: root/src/org/noreply/fancydress/type3/routing/RoutingHOST.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/noreply/fancydress/type3/routing/RoutingHOST.java')
-rw-r--r--src/org/noreply/fancydress/type3/routing/RoutingHOST.java7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/org/noreply/fancydress/type3/routing/RoutingHOST.java b/src/org/noreply/fancydress/type3/routing/RoutingHOST.java
index 933bfec..6138c2e 100644
--- a/src/org/noreply/fancydress/type3/routing/RoutingHOST.java
+++ b/src/org/noreply/fancydress/type3/routing/RoutingHOST.java
@@ -21,10 +21,6 @@ public class RoutingHOST extends RoutingForward {
* Port at which the Type III server is listening
*/
private int port;
- /**
- * Keyid of the Packet Key
- */
- private byte[] keyid;
/**
* Constructor that creates the routing as either FWD/HOST or SWAP-FWD/HOST
@@ -35,14 +31,13 @@ public class RoutingHOST extends RoutingForward {
* @param boolean if true, have a SWAP-FWD/HOST routing type, FWD/HOST otherwhise
*/
private RoutingHOST(String hostname, int port, byte[] keyid, boolean asSwap) {
- super (asSwap ? RoutingType.SWAP_FWD_HOST : RoutingType.FWD_HOST);
+ super (asSwap ? RoutingType.SWAP_FWD_HOST : RoutingType.FWD_HOST, keyid);
if (keyid.length != CryptoPrimitives.HASH_LEN)
throw new Error("keyid must be HASH_LEN bytes long.");
this.hostname = hostname;
this.port = port;
- this.keyid = keyid;
}
/**