~ubuntu-branches/ubuntu/saucy/postfix/saucy

« back to all changes in this revision

Viewing changes to src/qmqpd/qmqpd_peer.c

  • Committer: Bazaar Package Importer
  • Author(s): LaMont Jones
  • Date: 2011-02-22 11:20:43 UTC
  • mfrom: (1.1.27 upstream)
  • Revision ID: james.westby@ubuntu.com-20110222112043-c34ht219w3ybrilr
Tags: 2.8.0-2
* a little more lintian cleanup
* Fix missing format strings in smtp-sink.c

Show diffs side-by-side

added added

removed removed

Lines of Context:
57
57
#include <myaddrinfo.h>
58
58
#include <sock_addr.h>
59
59
#include <inet_proto.h>
 
60
#include <split_at.h>
60
61
 
61
62
/* Global library. */
62
63
 
151
152
        state->port = mystrdup(client_port.buf);
152
153
 
153
154
        /*
 
155
         * XXX Strip off the IPv6 datalink suffix to avoid false alarms with
 
156
         * strict address syntax checks.
 
157
         */
 
158
#ifdef HAS_IPV6
 
159
        (void) split_at(client_addr.buf, '%');
 
160
#endif
 
161
 
 
162
        /*
154
163
         * We convert IPv4-in-IPv6 address to 'true' IPv4 address early on,
155
164
         * but only if IPv4 support is enabled (why would anyone want to turn
156
165
         * it off)? With IPv4 support enabled we have no need for the IPv6