mirror of
https://github.com/D-Modem/gui.git
synced 2026-11-28 14:19:58 -08:00
Keep if_nametoindex in libssh's ssh_is_ipaddr for Linux and macOS
The patch renamed both calls in misc.c; the second ssh_is_ipaddr is the one for systems other than Windows, where dmodem_if_nametoindex was not defined. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01B82eRRhKGCaYUyYtH7Boap
This commit is contained in:
1 file changed
+8
@@ -142,3 +142,11 @@ dmodem_patch(src/misc.c
|
||||
dmodem_patch(src/misc.c
|
||||
"rc = WSAStringToAddressA((LPSTR) "
|
||||
"rc = dmodem_WSAStringToAddressA((LPSTR) ")
|
||||
# (the other ssh_is_ipaddr, for systems other than Windows, keeps its own)
|
||||
dmodem_patch(src/misc.c
|
||||
"#else /* _WIN32 */
|
||||
"
|
||||
"#else /* _WIN32 */
|
||||
|
||||
#define dmodem_if_nametoindex if_nametoindex /* D-Modem */
|
||||
")
|
||||
Reference in new issue
Block a user