Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F152986315
D32716.id97622.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
540 B
Referenced Files
None
Subscribers
None
D32716.id97622.diff
View Options
Index: contrib/sendmail/src/conf.c
===================================================================
--- contrib/sendmail/src/conf.c
+++ contrib/sendmail/src/conf.c
@@ -5269,9 +5269,7 @@
isloopback(sa)
SOCKADDR sa;
{
- /* XXX how to correctly extract IN_LOOPBACKNET part? */
-#define SM_IS_IPV4_LOOP(a) (((ntohl(a) & IN_CLASSA_NET) \
- >> IN_CLASSA_NSHIFT) == IN_LOOPBACKNET)
+#define SM_IS_IPV4_LOOP(a) (IN_LOOPBACK(ntohl(a)))
#if NETINET6
if (sa.sa.sa_family == AF_INET6 &&
IN6_IS_ADDR_V4MAPPED(&sa.sin6.sin6_addr) &&
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Apr 19, 11:55 AM (16 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31767399
Default Alt Text
D32716.id97622.diff (540 B)
Attached To
Mode
D32716: sendmail: do not use IN_CLASS macros
Attached
Detach File
Event Timeline
Log In to Comment