Parcourir la source

rename port to proxy_port

master
Jonathan Cobb il y a 4 ans
Parent
révision
a50b818a21
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. +2
    -2
      src/admin.rs

+ 2
- 2
src/admin.rs Voir le fichier

@@ -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
};



Chargement…
Annuler
Enregistrer