diff options
| author | David Lamparter <equinox@opensourcerouting.org> | 2021-05-09 19:24:10 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-09 19:24:10 +0200 |
| commit | c93d410837f48ca76a94a6367b990fd729af1908 (patch) | |
| tree | 7b6bf6c68ef6974dfd70a6dc84bc7a5a87ee93ec | |
| parent | b4a0d49a6870a89ec63d6bae0395eb00205ef6bd (diff) | |
| parent | 895b0d0ad6e39ad54e82e5c3d9060aa390c8bdd8 (diff) | |
Merge pull request #8642 from idryzhov/bgp-gr-no-oper
bgpd: don't return error for GR no-op commands
| -rw-r--r-- | bgpd/bgp_vty.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/bgpd/bgp_vty.c b/bgpd/bgp_vty.c index 7cd36ef538..36aa3e1a3e 100644 --- a/bgpd/bgp_vty.c +++ b/bgpd/bgp_vty.c @@ -132,10 +132,6 @@ DEFINE_HOOK(bgp_inst_config_write, (bgp, vty)); DEFINE_HOOK(bgp_snmp_update_last_changed, (struct bgp *bgp), (bgp)); -#define GR_NO_OPER \ - "The Graceful Restart No Operation was executed as cmd same as previous one." -#define GR_INVALID \ - "The Graceful Restart command used is not valid at this moment." static struct peer_group *listen_range_exists(struct bgp *bgp, struct prefix *range, int exact); @@ -750,9 +746,6 @@ int bgp_nb_errmsg_return(char *errmsg, size_t errmsg_len, int ret) case BGP_ERR_GR_OPERATION_FAILED: str = "The Graceful Restart Operation failed due to an err."; break; - case BGP_GR_NO_OPERATION: - str = GR_NO_OPER; - break; case BGP_ERR_PEER_GROUP_MEMBER: str = "Peer-group member cannot override remote-as of peer-group"; break; |
