diff options
author | V3n3RiX <venerix@koprulu.sector> | 2021-11-13 13:10:00 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2021-11-13 13:10:00 +0000 |
commit | e9d044d4b9b71200a96adfa280848858c0f468c9 (patch) | |
tree | 1bd8ef816043a8cd340f1d774e79553a1a7d31d8 /net-misc/mosh/files/mosh-1.3.2-bind-misinterpret.patch | |
parent | fc2f1018fc323ef2c6572734a9b130427cba76a6 (diff) |
gentoo resync : 13.11.2021
Diffstat (limited to 'net-misc/mosh/files/mosh-1.3.2-bind-misinterpret.patch')
-rw-r--r-- | net-misc/mosh/files/mosh-1.3.2-bind-misinterpret.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/net-misc/mosh/files/mosh-1.3.2-bind-misinterpret.patch b/net-misc/mosh/files/mosh-1.3.2-bind-misinterpret.patch new file mode 100644 index 000000000000..0203cfff6b23 --- /dev/null +++ b/net-misc/mosh/files/mosh-1.3.2-bind-misinterpret.patch @@ -0,0 +1,11 @@ +--- a/src/network/network.cc ++++ b/src/network/network.cc +@@ -335,7 +335,7 @@ bool Connection::try_bind( const char *addr, int port_low, int port_high ) + } + } + +- if ( bind( sock(), &local_addr.sa, local_addr_len ) == 0 ) { ++ if ( ::bind( sock(), &local_addr.sa, local_addr_len ) == 0 ) { + set_MTU( local_addr.sa.sa_family ); + return true; + } else if ( i == search_high ) { /* last port to search */ |