fix rpc packet route before first route info exchange (#516)

* fix rpc packet route before first route info exchange
* fix install script
* update config server help
This commit is contained in:
Sijie.Sun
2024-12-19 09:25:25 +08:00
committed by GitHub
parent c4d8ea4fec
commit 4bb72b5606
9 changed files with 37 additions and 22 deletions

View File

@@ -26,7 +26,7 @@ use crate::{
},
};
pub(crate) const HOLE_PUNCH_PACKET_BODY_LEN: u16 = 32;
pub(crate) const HOLE_PUNCH_PACKET_BODY_LEN: u16 = 16;
fn generate_shuffled_port_vec() -> Vec<u16> {
let mut rng = rand::thread_rng();