diff options
Diffstat (limited to 'proto/bgp/bgp.c')
-rw-r--r-- | proto/bgp/bgp.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/proto/bgp/bgp.c b/proto/bgp/bgp.c index 053016dd..2a64958a 100644 --- a/proto/bgp/bgp.c +++ b/proto/bgp/bgp.c @@ -1936,6 +1936,9 @@ bgp_postconfig(struct proto_config *CF) if (!cf->gr_mode && cf->llgr_mode) cf_error("Long-lived graceful restart requires basic graceful restart"); + if (internal && cf->enforce_first_as) + cf_error("Enforce first AS check is requires EBGP sessions"); + struct bgp_channel_config *cc; WALK_LIST(cc, CF->channels) |