From a50b818a21df7397970523d06fe45e2b627c8951 Mon Sep 17 00:00:00 2001 From: Jonathan Cobb Date: Sat, 5 Sep 2020 15:17:27 -0400 Subject: [PATCH] rename port to proxy_port --- src/admin.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/admin.rs b/src/admin.rs index 713e922..ca60f68 100644 --- a/src/admin.rs +++ b/src/admin.rs @@ -31,7 +31,7 @@ struct AdminRegistration { #[derive(Debug, Deserialize, Serialize, Clone)] struct BubbleRegistration { ip: String, - port: u16, + proxy_port: u16, auth_token: String } @@ -86,7 +86,7 @@ async fn handle_register(registration : AdminRegistration, // create the registration object let bubble_registration = BubbleRegistration { ip: proxy_ip, - port: proxy_port, + proxy_port, auth_token: token };