/[smeserver]/rpms/qpsmtpd/sme8/qpsmtpd-0.33-af_inet6.patch
ViewVC logotype

Contents of /rpms/qpsmtpd/sme8/qpsmtpd-0.33-af_inet6.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (show annotations) (download)
Fri Oct 16 22:45:25 2009 UTC (15 years, 1 month ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
Update to 0.83

1 --- qpsmtpd-forkserver.af_inet6 Sun Nov 5 16:25:09 2006
2 +++ qpsmtpd-forkserver Sun Nov 5 17:32:08 2006
3 @@ -231,9 +231,9 @@
4 my ($port, $iaddr) = ($server->sockdomain == AF_INET) ? (sockaddr_in($hisaddr)) : (sockaddr_in6($hisaddr));
5 my $localsockaddr = getsockname($client);
6 my ($lport, $laddr) = ($server->sockdomain == AF_INET) ? (sockaddr_in($localsockaddr)) : (sockaddr_in6($localsockaddr));
7 - my $nto_iaddr = ($server->sockdomain == AF_INET) ? (inet_ntoa($iaddr)) : (inet_ntop(AF_INET6, $iaddr));
8 - my $ton_iaddr = ($server->sockdomain == AF_INET) ? (inet_aton($iaddr)) : (inet_pton(AF_INET6, $iaddr));
9 - my $nto_laddr = ($server->sockdomain == AF_INET) ? (inet_ntoa($laddr)) : (inet_ntop(AF_INET6, $laddr));
10 + my $nto_iaddr = ($server->sockdomain == AF_INET) ? (inet_ntoa($iaddr)) : (inet_ntop(AF_INET6(), $iaddr));
11 + my $ton_iaddr = ($server->sockdomain == AF_INET) ? (inet_aton($iaddr)) : (inet_pton(AF_INET6(), $iaddr));
12 + my $nto_laddr = ($server->sockdomain == AF_INET) ? (inet_ntoa($laddr)) : (inet_ntop(AF_INET6(), $laddr));
13 $nto_iaddr =~ s/::ffff://;
14 $nto_laddr =~ s/::ffff://;
15

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed