summaryrefslogtreecommitdiffstats
path: root/src/router/workers.rs
diff options
context:
space:
mode:
authorMathias Hall-Andersen <mathias@hall-andersen.dk>2019-08-28 12:14:32 +0200
committerMathias Hall-Andersen <mathias@hall-andersen.dk>2019-08-28 12:14:32 +0200
commit8e1a2cabd355245daa2578d2c934e955a4e2d866 (patch)
tree200c447b83c5c5af0d94ef571da386fa8c2f401c /src/router/workers.rs
parentStart worker threads for device (diff)
downloadwireguard-rs-8e1a2cabd355245daa2578d2c934e955a4e2d866.tar.xz
wireguard-rs-8e1a2cabd355245daa2578d2c934e955a4e2d866.zip
Renamed confirmed -> initator on keypair
Done to reflect that the property is immutable, unlike the "confirmed" field on the decryption state.
Diffstat (limited to 'src/router/workers.rs')
-rw-r--r--src/router/workers.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/router/workers.rs b/src/router/workers.rs
index f02ee15..1fd2cdf 100644
--- a/src/router/workers.rs
+++ b/src/router/workers.rs
@@ -125,6 +125,8 @@ pub fn worker_inbound<T: Opaque, S: Callback<T>, R: Callback<T>, K: KeyCallback<
peer.confirm_key(state.keypair.clone());
}
+ // update enpoint, TODO
+
// write packet to TUN device, TODO
// trigger callback