diff --git a/bgpd/bgp_vty.c b/bgpd/bgp_vty.c index 15ff007..2f5af17 100644 --- a/bgpd/bgp_vty.c +++ b/bgpd/bgp_vty.c @@ -4157,11 +4157,6 @@ static int peer_remote_as_vty(struct vty *vty, const char *peer_str, return CMD_SUCCESS; } } else { - if (peer_address_self_check(bgp, &su)) { - vty_out(vty, - "%% Can not configure the local system as neighbor\n"); - return CMD_WARNING_CONFIG_FAILED; - } ret = peer_remote_as(bgp, &su, NULL, &as, as_type); }