summaryrefslogtreecommitdiff
path: root/sys/netinet6
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2015-09-11 15:29:48 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2015-09-11 15:29:48 +0000
commitcf18c9f15799720f35aea5ab721bc640303d31b1 (patch)
tree51f0d34e878d7744740738590766781684593900 /sys/netinet6
parent8e3af7917eadc157839ecd364f5c15f3a0d31cd4 (diff)
Convert _TM_ flags to TAME_ flags, collapsing the entire mapping
layer because the strings select the right options. Mechanical conversion. ok guenther
Diffstat (limited to 'sys/netinet6')
-rw-r--r--sys/netinet6/in6_pcb.c4
1 files changed, 2 insertions, 2 deletions
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))