summaryrefslogtreecommitdiffstats
path: root/src/configuration/config.rs
diff options
context:
space:
mode:
authorMathias Hall-Andersen <mathias@hall-andersen.dk>2019-11-27 16:59:54 +0100
committerMathias Hall-Andersen <mathias@hall-andersen.dk>2019-11-27 16:59:54 +0100
commit04f507556baf2336a613cb684ec98f2cdf519163 (patch)
tree4b7c88b000615e63bc7e5846930e6a36a461a108 /src/configuration/config.rs
parentEnable up/down from configuration interface (diff)
downloadwireguard-rs-04f507556baf2336a613cb684ec98f2cdf519163.tar.xz
wireguard-rs-04f507556baf2336a613cb684ec98f2cdf519163.zip
Work on netlink IF event code for Linux
Diffstat (limited to 'src/configuration/config.rs')
-rw-r--r--src/configuration/config.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/configuration/config.rs b/src/configuration/config.rs
index e7d1ba5..c045d1e 100644
--- a/src/configuration/config.rs
+++ b/src/configuration/config.rs
@@ -261,7 +261,7 @@ impl<T: tun::Tun, B: udp::PlatformUDP> Configuration for WireguardConfig<T, B> {
// add readers
while let Some(reader) = readers.pop() {
- cfg.wireguard.add_reader(reader);
+ cfg.wireguard.add_udp_reader(reader);
}
// create new UDP state