Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/gnu/dist/sendmail/sendmail correct use of struct in6_addr (p...
details: https://anonhg.NetBSD.org/src/rev/97d3bdaede35
branches: trunk
changeset: 500167:97d3bdaede35
user: itojun <itojun%NetBSD.org@localhost>
date: Thu Dec 07 06:26:56 2000 +0000
description:
correct use of struct in6_addr (patch submitted to sendmail.org)
diffstat:
gnu/dist/sendmail/sendmail/conf.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r 817020807293 -r 97d3bdaede35 gnu/dist/sendmail/sendmail/conf.c
--- a/gnu/dist/sendmail/sendmail/conf.c Thu Dec 07 05:59:07 2000 +0000
+++ b/gnu/dist/sendmail/sendmail/conf.c Thu Dec 07 06:26:56 2000 +0000
@@ -4909,7 +4909,7 @@
{
case AF_INET6:
ia6 = sa->sin6.sin6_addr;
- if (ia6.s6_addr == in6addr_any.s6_addr)
+ if (IN6_IS_ADDR_UNSPECIFIED(&ia6))
{
addr = anynet_ntop(&ia6, buf6, sizeof buf6);
message("WARNING: interface %s is UP with %s address",
@@ -5092,7 +5092,7 @@
# if NETINET6
case AF_INET6:
ia6 = sa->sin6.sin6_addr;
- if (ia6.s6_addr == in6addr_any.s6_addr)
+ if (IN6_IS_ADDR_UNSPECIFIED(&ia6))
{
addr = anynet_ntop(&ia6, buf6, sizeof buf6);
message("WARNING: interface %s is UP with %s address",
Home |
Main Index |
Thread Index |
Old Index