From cf18c9f15799720f35aea5ab721bc640303d31b1 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Fri, 11 Sep 2015 15:29:48 +0000 Subject: Convert _TM_ flags to TAME_ flags, collapsing the entire mapping layer because the strings select the right options. Mechanical conversion. ok guenther --- sys/netinet6/in6_pcb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/netinet6') diff --git a/sys/netinet6/in6_pcb.c b/sys/netinet6/in6_pcb.c index d740d68481f..77d252a575f 100644 --- a/sys/netinet6/in6_pcb.c +++ b/sys/netinet6/in6_pcb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: in6_pcb.c,v 1.73 2015/09/11 08:22:31 guenther Exp $ */ +/* $OpenBSD: in6_pcb.c,v 1.74 2015/09/11 15:29:47 deraadt Exp $ */ /* * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. @@ -404,7 +404,7 @@ in6_pcbconnect(struct inpcb *inp, struct mbuf *nam) return (EADDRNOTAVAIL); if (tame_dns_check(p, sin6->sin6_port)) - return (tame_fail(p, EPERM, TAME_DNS)); + return (tame_fail(p, EPERM, TAME_DNSPATH)); /* reject IPv4 mapped address, we have no support for it */ if (IN6_IS_ADDR_V4MAPPED(&sin6->sin6_addr)) -- cgit v1.2.3