diff options
| author | Donatas Abraitis <donatas.abraitis@gmail.com> | 2019-10-25 13:01:02 +0300 |
|---|---|---|
| committer | Donatas Abraitis <donatas.abraitis@gmail.com> | 2019-10-25 13:05:49 +0300 |
| commit | b550350618895bd6bff307fe2a1ea8d15c1a367c (patch) | |
| tree | 0897723bc9b57d0ee67d73ba8bc3d99c6ccd6640 /lib/if.c | |
| parent | e1a3c0effa627eb9e5d20da8782708425417f970 (diff) | |
nhrp: Make sure `no ip nhrp map <something>` works as expected
We passed peer as NULL and nothing happened.
exit2-debian-9# conf
exit2-debian-9(config)# int gre1
exit2-debian-9(config-if)# ip nhrp map 1.1.1.1 local
exit2-debian-9(config-if)# ip nhrp map 2.2.2.2 3.3.3.3
exit2-debian-9(config-if)# do sh run
...
!
interface gre1
ip nhrp map 1.1.1.1 local
ip nhrp map 2.2.2.2 3.3.3.3
!
...
exit2-debian-9(config-if)# no ip nhrp map 1.1.1.1
exit2-debian-9(config-if)# do sh run
...
!
interface gre1
ip nhrp map 2.2.2.2 3.3.3.3
!
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
Diffstat (limited to 'lib/if.c')
0 files changed, 0 insertions, 0 deletions
