From 81545b477d5baf93087773a1ffafe8e145f21ada Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20Ter=C3=A4s?= Date: Thu, 30 Apr 2015 16:01:26 +0300 Subject: zebra: redistribute hw_type to connected daemons MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit nhrp module will need it, and it can be useful for others too. Signed-off-by: Timo Teräs --- lib/zclient.c | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/zclient.c') 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); -- cgit v1.2.3