diff options
| author | anlan_cs <anlan_cs@126.com> | 2024-09-29 10:15:31 +0800 |
|---|---|---|
| committer | anlan_cs <anlan_cs@126.com> | 2024-09-29 10:51:39 +0800 |
| commit | 1276eaaa90f0360687fab14a7c7f58399be6c0f3 (patch) | |
| tree | c869f80ec9a546dc23703b30049d3d64629b60d6 /lib/json.c | |
| parent | 8b1b5315c319240a6a5db2f163b7b063def89b5c (diff) | |
tools: fix missing check interfaces for reloading pim
Without checking interfaces, the other interfaces' changes will be wrongly
lost.
Running config:
```
interface A
ip pim
ip pim use-source 11.0.0.1
exit
!
interface B
ip pim
ip pim use-source 22.0.0.1
exit
!
```
Reload the new config:
```
interface A
exit
!
interface B
ip pim
exit
```
Before:
```
2024-09-29 10:08:27,686 INFO: Executed "interface A no ip pim exit"
```
After:
```
2024-09-29 10:05:01,356 INFO: Executed "interface A no ip pim exit"
2024-09-29 10:05:01,376 INFO: Executed "interface B no ip pim use-source 22.0.0.1 exit"
```
Signed-off-by: anlan_cs <anlan_cs@126.com>
Diffstat (limited to 'lib/json.c')
0 files changed, 0 insertions, 0 deletions
