]> git.proxmox.com Git - mirror_frr.git/commit - lib/sockunion.h
nhrpd: Clear shortcut routes properly for all protocols
authorGaurav Goyal <gaurav.goyal@4rf.com>
Sun, 1 Nov 2020 23:11:19 +0000 (12:11 +1300)
committerReuben Dowle <reuben.dowle@4rf.com>
Wed, 16 Dec 2020 21:17:07 +0000 (10:17 +1300)
commitddd8d8c84522297b13b9b1068ea93553b53b27d5
treead99187c8eb9b10a82f0521f1fcdafe35fba4696
parent46d380217d5e44e3f48b1a6192c578430e832caa
nhrpd: Clear shortcut routes properly for all protocols

Currently when nhrp shortcuts are purged they will not be recreated. This
patch fixes that by ensuring the shortcut routes get purged correctly.

This situation can be reproduced by first allowing a shortcut to be created
then clearing the shortcut:
clear ip nhrp cache
clear ip nhrp shortcuts

Signed-off-by: Reuben Dowle <reuben.dowle@4rf.com>
lib/sockunion.c [changed mode: 0644->0755]
lib/sockunion.h [changed mode: 0644->0755]
nhrpd/nhrp_route.c [changed mode: 0644->0755]