diff options
| author | Donatas Abraitis <donatas@opensourcerouting.org> | 2024-01-21 23:14:02 +0200 |
|---|---|---|
| committer | Donatas Abraitis <donatas@opensourcerouting.org> | 2024-01-21 23:14:02 +0200 |
| commit | fa68e7c285b0dbf8a2b49705277f6ea47cceddca (patch) | |
| tree | b1cc2fa5d81b15a50f5d518516484ef4e2f52569 /zebra/interface.c | |
| parent | aa5ff67844f5b7d52c5efb58d96803fcb545be3b (diff) | |
Revert "zebra: Add connected with noprefixroute"
This reverts commit b311787366bae730b58d416251eed45c608df8a3.
Diffstat (limited to 'zebra/interface.c')
| -rw-r--r-- | zebra/interface.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/zebra/interface.c b/zebra/interface.c index 9864b825ee..1afd9d5a7d 100644 --- a/zebra/interface.c +++ b/zebra/interface.c @@ -1331,9 +1331,6 @@ static void zebra_if_addr_update_ctx(struct zebra_dplane_ctx *ctx, if (dplane_ctx_intf_is_secondary(ctx)) SET_FLAG(flags, ZEBRA_IFA_SECONDARY); - if (dplane_ctx_intf_is_noprefixroute(ctx)) - SET_FLAG(flags, ZEBRA_IFA_NOPREFIXROUTE); - /* Label? */ if (dplane_ctx_intf_has_label(ctx)) label = dplane_ctx_get_intf_label(ctx); @@ -2411,12 +2408,6 @@ static void connected_dump_vty(struct vty *vty, json_object *json, vty_out(vty, " secondary"); if (json) - json_object_boolean_add(json_addr, "noPrefixRoute", - CHECK_FLAG(connected->flags, ZEBRA_IFA_NOPREFIXROUTE)); - else if (CHECK_FLAG(connected->flags, ZEBRA_IFA_NOPREFIXROUTE)) - vty_out(vty, " noprefixroute"); - - if (json) json_object_boolean_add( json_addr, "unnumbered", CHECK_FLAG(connected->flags, ZEBRA_IFA_UNNUMBERED)); |
