summaryrefslogtreecommitdiffstats
path: root/proto/bgp/bgp.c
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2009-12-14 23:31:25 +0100
committerOndrej Zajicek <santiago@crfreenet.org>2009-12-14 23:31:25 +0100
commit43c1ceccb9caf8c4f63f191346c2f33889b4ad22 (patch)
tree4f32ef3db1e6c249dd630f4822dfdaf2fc30d5d2 /proto/bgp/bgp.c
parent13a7395704deeeff2d86910d8bcf9a6f32a7b207 (diff)
downloadbird-43c1ceccb9caf8c4f63f191346c2f33889b4ad22.tar
bird-43c1ceccb9caf8c4f63f191346c2f33889b4ad22.zip
Remove bgp_as4_support variable.
Diffstat (limited to 'proto/bgp/bgp.c')
-rw-r--r--proto/bgp/bgp.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/proto/bgp/bgp.c b/proto/bgp/bgp.c
index 24cd202..3cbcb6d 100644
--- a/proto/bgp/bgp.c
+++ b/proto/bgp/bgp.c
@@ -884,12 +884,6 @@ bgp_check(struct bgp_config *c)
if (!c->remote_as)
cf_error("Neighbor must be configured");
- if (!bgp_as4_support && c->enable_as4)
- cf_error("AS4 support disabled globally");
-
- if (!bgp_as4_support && (c->local_as > 0xFFFF))
- cf_error("Local AS number out of range");
-
if (!(c->capabilities && c->enable_as4) && (c->remote_as > 0xFFFF))
cf_error("Neighbor AS number out of range (AS4 not available)");