~ubuntu-branches/ubuntu/wily/glusterfs/wily

« back to all changes in this revision

Viewing changes to rpc/rpc-transport/socket/src/name.c

  • Committer: Bazaar Package Importer
  • Author(s): Patrick Matthäi
  • Date: 2011-06-26 21:00:42 UTC
  • mfrom: (1.3.11 upstream)
  • Revision ID: james.westby@ubuntu.com-20110626210042-ps1aim0cwz06tkx1
Tags: 3.2.1-1
* New upstream release.
  - Refresh patch 02-spelling-error.
* Wrap dependencies.
* Merge libglusterfs0 and libglusterfs-dev package to glusterfs-common.
  Closes: #630147
* Use python-module.mk and remove useless python bytecode files.
  Closes: #630146

Show diffs side-by-side

added added

removed removed

Lines of Context:
437
437
                *sockaddr_len = sizeof (struct sockaddr_in);
438
438
 
439
439
        case AF_INET6:
440
 
                ret = af_inet_bind_to_port_lt_ceiling (sock, sockaddr,
 
440
                if (!this->client_bind_insecure) {
 
441
                        ret = af_inet_bind_to_port_lt_ceiling (sock, sockaddr,
441
442
                                                       *sockaddr_len, CLIENT_PORT_CEILING);
 
443
                }
442
444
                if (ret == -1) {
443
445
                        gf_log (this->name, GF_LOG_DEBUG,
444
446
                                "cannot bind inet socket (%d) to port less than %d (%s)",