mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-09 09:22:32 +00:00
tools: Cleanup code to handle sharp and pbr a bit better
The sharp and pbr protocols needed a bit more handling to be 'right' from a start/stop perspective. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
0761368af0
commit
70bf5a07fd
@ -9,3 +9,4 @@
|
|||||||
192 eigrp
|
192 eigrp
|
||||||
193 ldp
|
193 ldp
|
||||||
194 sharp
|
194 sharp
|
||||||
|
195 pbr
|
||||||
|
15
tools/frr
15
tools/frr
@ -552,16 +552,19 @@ case "$1" in
|
|||||||
# Additionally if a new protocol is added
|
# Additionally if a new protocol is added
|
||||||
# we need to add it here as well as
|
# we need to add it here as well as
|
||||||
# in rt_netlink.h( follow the directions! )
|
# in rt_netlink.h( follow the directions! )
|
||||||
ip route flush proto 186
|
|
||||||
ip route flush proto 188
|
|
||||||
ip route flush proto 4
|
ip route flush proto 4
|
||||||
|
ip route flush proto 11
|
||||||
|
ip route flush proto 42
|
||||||
|
ip route flush proto 186
|
||||||
|
ip route flush proto 187
|
||||||
|
ip route flush proto 188
|
||||||
ip route flush proto 189
|
ip route flush proto 189
|
||||||
ip route flush proto 190
|
ip route flush proto 190
|
||||||
ip route flush proto 11
|
|
||||||
ip route flush proto 187
|
|
||||||
ip route flush proto 192
|
|
||||||
ip route flush proto 42
|
|
||||||
ip route flush proto 191
|
ip route flush proto 191
|
||||||
|
ip route flush proto 192
|
||||||
|
ip route flush proto 193
|
||||||
|
ip route flush proto 194
|
||||||
|
ip route flush proto 195
|
||||||
else
|
else
|
||||||
[ -n "$dmn" ] && eval "${dmn/-/_}=0"
|
[ -n "$dmn" ] && eval "${dmn/-/_}=0"
|
||||||
start_watchfrr
|
start_watchfrr
|
||||||
|
Loading…
Reference in New Issue
Block a user