diff options
| author | Russ White <russ@riw.us> | 2025-01-28 12:23:06 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-28 12:23:06 -0500 |
| commit | bd82864d03b12723d96bd2e10a2ad9b0de82f6f9 (patch) | |
| tree | aa7d4969adacf6cb04283757a79908a465e3f416 /lib/srcdest_table.c | |
| parent | e82788de4665b5b6a9bc8a9e5af9224d90984a50 (diff) | |
| parent | 91540d2e316ecd391622752096e5099b71d91497 (diff) | |
Merge pull request #17941 from opensourcerouting/fix-dst-src
static: fix botched staticd YANG conversion for dst-src
Diffstat (limited to 'lib/srcdest_table.c')
| -rw-r--r-- | lib/srcdest_table.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/srcdest_table.c b/lib/srcdest_table.c index 3247a0372c..7203c8ac8e 100644 --- a/lib/srcdest_table.c +++ b/lib/srcdest_table.c @@ -309,13 +309,3 @@ static ssize_t printfrr_rn(struct fbuf *buf, struct printfrr_eargs *ea, cbuf, sizeof(cbuf)); return bputs(buf, cbuf); } - -struct route_table *srcdest_srcnode_table(struct route_node *rn) -{ - if (rnode_is_dstnode(rn)) { - struct srcdest_rnode *srn = srcdest_rnode_from_rnode(rn); - - return srn->src_table; - } - return NULL; -} |
