]> git.puffer.fish Git - mirror/frr.git/commit
staticd: To set the default value of blackhole type correctly 7271/head
authorvdhingra <vdhingra@vmware.com>
Fri, 9 Oct 2020 16:23:14 +0000 (09:23 -0700)
committervdhingra <vdhingra@vmware.com>
Fri, 9 Oct 2020 16:35:56 +0000 (09:35 -0700)
commita2eca51c471bf357a275e03dc4da5be632ef15a7
treed82bb7e974ae23f22a3e1efe044e2a4f1d19bbe8
parente13013d4bad0be7618296cd333cb56ade09d7c83
staticd: To set the default value of blackhole type correctly

When nexthop is allocated, default value of blockhole type
was not getting set, this leads to below problem. The default
value should be in-sync with the deafult value in yang model.

c t
ip route 131.1.1.0/24 Null0

do show running-config
...
!
ip route 131.1.1.0/24 blackhole
!
end

Signed-off-by: vishaldhingra <vdhingra@vmware.com>
staticd/static_routes.c