915b6ff7d17ce78fa562331606b829afa302bc16
When receiving packets on client links, try INIT decryption first. If it fails (e.g., for INIT_RESPONSE packets), fallback to normal decryption using the existing link's crypto context. This fixes mesh topology where both nodes send INIT simultaneously, while maintaining compatibility with standard client-server mode where client links receive INIT_RESPONSE packets. Changes: - If link==NULL OR link is client (is_server==0), try INIT decryption - On any INIT decryption error, if we have an existing link, goto normal_decrypt - Added normal_decrypt label before standard packet processing - This allows handling both incoming INIT (create server link) and incoming responses (use existing client link) correctly
…
…
…
Languages
C
64.5%
C++
17.3%
Kotlin
9.4%
HTML
5.6%
Python
1.2%
Other
1.8%