summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorDaniel Hartmeier <dhartmei@cvs.openbsd.org>2002-05-27 10:33:33 +0000
committerDaniel Hartmeier <dhartmei@cvs.openbsd.org>2002-05-27 10:33:33 +0000
commitbe76abf1b4ab2e7f788330a7b51f5bbeabbdb549 (patch)
treea4788f61b7ea1a12c1344947a679cdfe1c88effa /sbin
parent8c6db77881ce69c612dff98303163fd1f968a2ef (diff)
Ports require 6 chars, from Oleg Safiullin
Diffstat (limited to 'sbin')
-rw-r--r--sbin/pfctl/pfctl_parser.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/pfctl/pfctl_parser.c b/sbin/pfctl/pfctl_parser.c
index c8715cb31b6..14bbc9c603f 100644
--- a/sbin/pfctl/pfctl_parser.c
+++ b/sbin/pfctl/pfctl_parser.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pfctl_parser.c,v 1.73 2002/05/23 09:47:20 deraadt Exp $ */
+/* $OpenBSD: pfctl_parser.c,v 1.74 2002/05/27 10:33:32 dhartmei Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
@@ -373,7 +373,7 @@ print_op(u_int8_t op, const char *a1, const char *a2)
void
print_port(u_int8_t op, u_int16_t p1, u_int16_t p2, char *proto)
{
- char a1[5], a2[5];
+ char a1[6], a2[6];
struct servent *s = getservbyport(p1, proto);
p1 = ntohs(p1);