summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/parse.y
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2004-02-09 01:46:35 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2004-02-09 01:46:35 +0000
commitb708a70d545a6c6391448094ddfe9f87e06ba30b (patch)
tree611efeae8bf76674ad13f3d396094d2d92519b3c /usr.sbin/bgpd/parse.y
parent39028756f5ae9140a658dbac42728878af7f9e0b (diff)
make max_prefix an u_int32_t instead of an u_long and change its
meaning as in 0 means no limit insytead of setting it to ULONG_MAX for no limit
Diffstat (limited to 'usr.sbin/bgpd/parse.y')
-rw-r--r--usr.sbin/bgpd/parse.y3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.sbin/bgpd/parse.y b/usr.sbin/bgpd/parse.y
index 5aa9e7438b5..0aee308574d 100644
--- a/usr.sbin/bgpd/parse.y
+++ b/usr.sbin/bgpd/parse.y
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.y,v 1.54 2004/02/09 00:00:41 henning Exp $ */
+/* $OpenBSD: parse.y,v 1.55 2004/02/09 01:46:34 henning Exp $ */
/*
* Copyright (c) 2002, 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -1033,7 +1033,6 @@ alloc_peer(void)
p->next = NULL;
p->conf.distance = 1;
p->conf.announce_type = ANNOUNCE_UNDEF;
- p->conf.max_prefix = ULONG_MAX;
return (p);
}