diff options
| author | Louis Scalbert <louis.scalbert@6wind.com> | 2021-06-30 15:18:50 +0200 |
|---|---|---|
| committer | Louis Scalbert <louis.scalbert@6wind.com> | 2021-07-01 14:40:14 +0200 |
| commit | 6794884231cc9a83b936323009370c3e1deff643 (patch) | |
| tree | 6437081aed46618d06aa46fd70b3d847fcf41539 /ospf6d/ospf6_zebra.c | |
| parent | 08965422d08f51ce9fe3a4490da5732c98b54a6a (diff) | |
ospf6d: factorize router-id update
ospf6_router_id_update function is used by ospf6_router_id_update_zebra
to update the running the ospf6 router-id.
This patches makes the functions to (un)configure ospf6 router-id use
the same function as ospf6_router_id_update_zebra.
Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
---
Diffstat (limited to 'ospf6d/ospf6_zebra.c')
| -rw-r--r-- | ospf6d/ospf6_zebra.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ospf6d/ospf6_zebra.c b/ospf6d/ospf6_zebra.c index 1c9541710e..727e6f7fef 100644 --- a/ospf6d/ospf6_zebra.c +++ b/ospf6d/ospf6_zebra.c @@ -101,7 +101,7 @@ static int ospf6_router_id_update_zebra(ZAPI_CALLBACK_ARGS) o->router_id_zebra = router_id.u.prefix4.s_addr; - ospf6_router_id_update(o, false); + ospf6_router_id_update(o, false, NULL); return 0; } |
