summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2000-04-27 15:41:07 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2000-04-27 15:41:07 +0000
commitfef6705c6e7b4fd9d4a48f8065668125f05992d3 (patch)
treeb74f226c947e875ba53d9ffba80091547f867327
parent1801c18cbce7419f31cb23a1194537cf18f08767 (diff)
add TCP port 587 to default list of reserved ports not to allocate dynamically in order to reserve it for sendmail.
-rw-r--r--sys/netinet/in_pcb.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/in_pcb.h b/sys/netinet/in_pcb.h
index ed5f2932b61..5d6c5c158f4 100644
--- a/sys/netinet/in_pcb.h
+++ b/sys/netinet/in_pcb.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: in_pcb.h,v 1.22 2000/02/07 06:09:09 itojun Exp $ */
+/* $OpenBSD: in_pcb.h,v 1.23 2000/04/27 15:41:06 millert Exp $ */
/* $NetBSD: in_pcb.h,v 1.14 1996/02/13 23:42:00 christos Exp $ */
/*
@@ -215,7 +215,7 @@ struct inpcbtable {
#define DP_ISSET(m, p) ((m)[((p) - IPPORT_RESERVED/2) / DP_MAPBITS] & (1 << ((p) % DP_MAPBITS)))
/* default values for baddynamicports [see ip_init()] */
-#define DEFBADDYNAMICPORTS_TCP { 749, 750, 751, 760, 761, 871, 0 }
+#define DEFBADDYNAMICPORTS_TCP { 587, 749, 750, 751, 760, 761, 871, 0 }
#define DEFBADDYNAMICPORTS_UDP { 750, 751, 0 }
struct baddynamicports {