diff options
| author | Don Slice <dslice@cumulusnetworks.com> | 2017-02-01 13:10:56 -0500 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-04-06 10:29:19 -0400 |
| commit | 5aba114af433e92403859beaa48e133baf93ffc2 (patch) | |
| tree | 275d6610f550d97bf8268deead50df044acf5656 /lib/zclient.c | |
| parent | f31e084c7c0e6699926ad72bc4f9a8ca2663f50b (diff) | |
zebra: fec register
Implement interface that allows a client to register a FEC for obtaining
a label binding (in-label). Update client whenever the label binding is
updated and cleanup when client goes away.
Signed-off-by: Don Slice <dslice@cumulusnetworks.com>
Diffstat (limited to 'lib/zclient.c')
| -rw-r--r-- | lib/zclient.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/zclient.c b/lib/zclient.c index 71b95ae7db..9e53b66c77 100644 --- a/lib/zclient.c +++ b/lib/zclient.c @@ -1867,6 +1867,12 @@ zclient_read (struct thread *thread) if (zclient->interface_link_params) (*zclient->interface_link_params) (command, zclient, length); break; + case ZEBRA_FEC_UPDATE: + if (zclient_debug) + zlog_debug("zclient rcvd fec update\n"); + if (zclient->fec_update) + (*zclient->fec_update) (command, zclient, length); + break; default: break; } |
