diff options
author | Timo Teräs <timo.teras@iki.fi> | 2015-04-30 16:01:26 +0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2015-06-04 10:00:19 +0300 |
commit | 81545b477d5baf93087773a1ffafe8e145f21ada (patch) | |
tree | ced9d24545e01846391f573bd874953a8d60d9e3 /lib/zclient.c | |
parent | be6335d682c5ee1b6930345193eda875705fbab2 (diff) | |
download | quagga-81545b477d5baf93087773a1ffafe8e145f21ada.tar.bz2 quagga-81545b477d5baf93087773a1ffafe8e145f21ada.tar.xz |
zebra: redistribute hw_type to connected daemons
nhrp module will need it, and it can be useful for others too.
Signed-off-by: Timo Teräs <timo.teras@iki.fi>
Diffstat (limited to 'lib/zclient.c')
-rw-r--r-- | lib/zclient.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/zclient.c b/lib/zclient.c index 71da87c6..329a2de5 100644 --- a/lib/zclient.c +++ b/lib/zclient.c @@ -736,6 +736,7 @@ zebra_interface_if_set_value (struct stream *s, struct interface *ifp) #ifdef HAVE_STRUCT_SOCKADDR_DL stream_get (&ifp->sdl, s, sizeof (ifp->sdl_storage)); #else + ifp->hw_type = stream_getl (s); ifp->hw_addr_len = stream_getl (s); if (ifp->hw_addr_len) stream_get (ifp->hw_addr, s, ifp->hw_addr_len); |