]> git.puffer.fish Git - mirror/frr.git/commit
ospf6d: fix setting NOAUTOCOST flag
authorEmanuele Di Pascale <emanuele@voltanet.io>
Wed, 3 Mar 2021 09:56:51 +0000 (10:56 +0100)
committerIgor Ryzhov <iryzhov@nfware.com>
Wed, 24 Mar 2021 12:16:18 +0000 (15:16 +0300)
commit26b9d47fd2c3828e4b341dff5d968eb50c4e4fa5
treea350f5b314b19ac74cccfbc858919a9fa5c23476
parent8bfe356db498c2210f4a6f18f0d39135b9f743be
ospf6d: fix setting NOAUTOCOST flag

ospf6 keeps a flag to remember whether the cost for an interface
was manually added via config or computed automatically, but if
the configured value matches the auto-computed one we were not
setting this flag, meaning that the config would not show up in
the config.

Signed-off-by: Emanuele Di Pascale <emanuele@voltanet.io>
ospf6d/ospf6_interface.c