summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/bgpd.h
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/bgpd.h
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/bgpd.h')
-rw-r--r--usr.sbin/bgpd/bgpd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bgpd/bgpd.h b/usr.sbin/bgpd/bgpd.h
index 43d02ed777f..6a0cdfc768c 100644
--- a/usr.sbin/bgpd/bgpd.h
+++ b/usr.sbin/bgpd/bgpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: bgpd.h,v 1.92 2004/02/07 11:42:30 henning Exp $ */
+/* $OpenBSD: bgpd.h,v 1.93 2004/02/09 01:46:34 henning Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -131,7 +131,7 @@ struct peer_config {
char descr[PEER_DESCR_LEN];
struct bgpd_addr remote_addr;
struct bgpd_addr local_addr;
- u_long max_prefix;
+ u_int32_t max_prefix;
u_int16_t remote_as;
u_int8_t ebgp; /* 1 = ebgp, 0 = ibgp */
u_int8_t distance; /* 1 = direct, >1 = multihop */