diff options
| author | Russ White <russ@riw.us> | 2023-10-31 13:23:57 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-31 13:23:57 -0400 |
| commit | 644386fe4824a9d0fbf02fe7df2de7fcb1fc2173 (patch) | |
| tree | b07db5247b8fb99ea74a3b1e1d3b524054e0378b /lib/log.c | |
| parent | dbe2f6ca7c8697500f9832375d1831b91261eb64 (diff) | |
| parent | deac143c6eef3c4e8cc1c6d2ef29d830d1ae5b86 (diff) | |
Merge pull request #14388 from pguibert6WIND/redistribute_table_bgp_2
Redistribute table bgp without copying data to the default routing table
Diffstat (limited to 'lib/log.c')
| -rw-r--r-- | lib/log.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -573,6 +573,8 @@ int proto_redistnum(int afi, const char *s) return ZEBRA_ROUTE_SHARP; else if (strmatch(s, "openfabric")) return ZEBRA_ROUTE_OPENFABRIC; + else if (strmatch(s, "table-direct")) + return ZEBRA_ROUTE_TABLE_DIRECT; } if (afi == AFI_IP6) { if (strmatch(s, "kernel")) @@ -603,6 +605,8 @@ int proto_redistnum(int afi, const char *s) return ZEBRA_ROUTE_SHARP; else if (strmatch(s, "openfabric")) return ZEBRA_ROUTE_OPENFABRIC; + else if (strmatch(s, "table-direct")) + return ZEBRA_ROUTE_TABLE_DIRECT; } return -1; } |
