~ubuntu-branches/debian/sid/postfix/sid

« back to all changes in this revision

Viewing changes to src/global/own_inet_addr.c

  • Committer: Package Import Robot
  • Author(s): LaMont Jones
  • Date: 2012-03-20 13:47:16 UTC
  • mfrom: (1.1.34) (39.1.16 trunk)
  • Revision ID: package-import@ubuntu.com-20120320134716-o62kosz3odzt1rh6
Tags: 2.9.1-2
Drop unnecessary openssl check, since sonames will save us.

Show diffs side-by-side

added added

removed removed

Lines of Context:
93
93
    inet_addr_list_init(mask_list);
94
94
 
95
95
    /*
 
96
     * Avoid run-time errors when all network protocols are disabled. We
 
97
     * can't look up interface information, and we can't convert explicit
 
98
     * names or addresses.
 
99
     */
 
100
    if (inet_proto_info()->ai_family_list[0] == 0) {
 
101
        if (msg_verbose)
 
102
            msg_info("skipping %s setting - "
 
103
                     "all network protocols are disabled",
 
104
                     VAR_INET_INTERFACES);
 
105
        return;
 
106
    }
 
107
 
 
108
    /*
96
109
     * If we are listening on all interfaces (default), ask the system what
97
110
     * the interfaces are.
98
111
     */