mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-16 01:14:26 +09:00
Always reinitialize NetworkAutoDetect, otherwise it might end set to previous value and not the desired one. This happens when the client sets /network:lan , in which case NetworkAutoDetect remains set to TRUE because freerdp_set_connection_type() was previously called in prepare_default_settings() and NetworkAutoDetect is never updated by freerdp_set_connection_type() afterward. Signed-off-by: Marek Vasut <marex@denx.de>