diff options
author | Donald Sharp <sharpd@nvidia.com> | 2021-09-24 21:51:18 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@nvidia.com> | 2021-09-27 18:38:08 +0200 |
commit | ed6cec97d7f2c5abbc5a2ef2f087a614c54ddcb1 (patch) | |
tree | e5804304819a41268360ca56509a8711be3ee09f /ospf6d/ospf6_zebra.c | |
parent | zebra: Being able to use the default route is a boolean not an int (diff) | |
download | frr-ed6cec97d7f2c5abbc5a2ef2f087a614c54ddcb1.tar.xz frr-ed6cec97d7f2c5abbc5a2ef2f087a614c54ddcb1.zip |
*: Add resolve via default flag
Diffstat (limited to 'ospf6d/ospf6_zebra.c')
-rw-r--r-- | ospf6d/ospf6_zebra.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ospf6d/ospf6_zebra.c b/ospf6d/ospf6_zebra.c index 1a0c5a997..2e2b069fd 100644 --- a/ospf6d/ospf6_zebra.c +++ b/ospf6d/ospf6_zebra.c @@ -154,7 +154,8 @@ void ospf6_zebra_import_default_route(struct ospf6 *ospf6, bool unreg) zserv_command_string(command), &prefix, ospf6->vrf_id); - if (zclient_send_rnh(zclient, command, &prefix, true, ospf6->vrf_id) + if (zclient_send_rnh(zclient, command, &prefix, false, true, + ospf6->vrf_id) == ZCLIENT_SEND_FAILURE) flog_err(EC_LIB_ZAPI_SOCKET, "%s: zclient_send_rnh() failed", __func__); |