diff options
| author | anlan_cs <anlan_cs@tom.com> | 2024-04-12 21:57:30 +0800 |
|---|---|---|
| committer | anlan_cs <anlan_cs@tom.com> | 2024-04-13 09:28:55 +0800 |
| commit | 1a8725b11fd84f875577f2066b4d6cccf4191933 (patch) | |
| tree | c241782802bf3dca172ef20cb4858985735605e7 /lib/elf_py.c | |
| parent | b6e6656a2e24e669b5a87db76edb8b09e48fce9e (diff) | |
bpgd: adjust return value for the same command
The same command should be accepted, it is an empty operation. Take
`neighbor <X> graceful-restart-helper` as an example:
Before:
```
anlan(config-router)# neighbor 3.3.3.3 graceful-restart-helper
Graceful restart configuration changed, reset this peer to take effect
anlan(config-router)# neighbor 3.3.3.3 graceful-restart-helper
Graceful restart configuration changed, reset this peer to take effect
% The Graceful Restart command used is not valid at this moment.
anlan(config-router)#
```
After:
```
anlan(config-router)# neighbor 3.3.3.3 graceful-restart-helper
Graceful restart configuration changed, reset this peer to take effect
anlan(config-router)# neighbor 3.3.3.3 graceful-restart-helper
Graceful restart configuration changed, reset this peer to take effect
anlan(config-router)#
```
Signed-off-by: anlan_cs <anlan_cs@tom.com>
Diffstat (limited to 'lib/elf_py.c')
0 files changed, 0 insertions, 0 deletions
