martin-ger / esp32_nat_router

A simple NAT Router for the ESP32
1.34k stars 282 forks source link

fix: fix the conditon check variable #160

Open RealHurrison opened 5 months ago

RealHurrison commented 5 months ago

This condition checks the length of 'param2' (password) instead of 'param3' (ent_username) before adding '-u' and 'ent_username' to the arguments. It should check if 'param3' is not empty.

This condition checks the length of 'param3' (ent_username) instead of 'param4' (ent_identity) before adding '-a' and 'ent_identity' to the arguments. It should check if 'param4' is not empty.