diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-02-09 19:27:52 -0500 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-02-23 14:45:57 -0500 |
| commit | 28610f7e444dbb2ea4175582f84e566a6645927b (patch) | |
| tree | 4af0dfe041b19506f2da76ee05098d9fb6bef41b /lib/zclient.c | |
| parent | 8d056acc82e16b83a56d82960e1d3f3dfbabfef9 (diff) | |
*: Add tableid the route entry was sent to
Add for the southbound pass back the route entries tableid
used for installation.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/zclient.c')
| -rw-r--r-- | lib/zclient.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/zclient.c b/lib/zclient.c index 714888a3f3..fc4d37458c 100644 --- a/lib/zclient.c +++ b/lib/zclient.c @@ -1210,6 +1210,7 @@ stream_failure: } bool zapi_route_notify_decode(struct stream *s, struct prefix *p, + uint32_t *tableid, enum zapi_route_notify_owner *note) { STREAM_GET(note, s, sizeof(*note)); @@ -1218,6 +1219,7 @@ bool zapi_route_notify_decode(struct stream *s, struct prefix *p, STREAM_GETC(s, p->prefixlen); STREAM_GET(&p->u.prefix, s, PSIZE(p->prefixlen)); + STREAM_GETL(s, *tableid); return true; |
