diff options
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 */ |