From: hasso Date: Sat, 23 Oct 2004 14:26:49 +0000 (+0000) Subject: Yet another breakage introduced in May with zserv cleanup. X-Git-Tag: frr-2.0-rc1~3439 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=508ec9102057c86769e5c0dd280037025102a9c0;p=matthieu%2Ffrr.git Yet another breakage introduced in May with zserv cleanup. --- diff --git a/lib/ChangeLog b/lib/ChangeLog index 439626a6fe..8a9fb24708 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,8 @@ +2004-10-23 Hasso Tepper + + * zclient.c: Unbreak reading interface update message. Might fix + blocker bugzilla #109. + 2004-10-22 Paul Jakma * sockopt.c: (getsockopt_ipv4_ifindex) no ifindex should be 0, not diff --git a/lib/zclient.c b/lib/zclient.c index dfb2f2fc79..8325a56c84 100644 --- a/lib/zclient.c +++ b/lib/zclient.c @@ -636,11 +636,13 @@ zebra_interface_if_set_value (struct stream *s, struct interface *ifp) { /* Read interface's index. */ ifp->ifindex = stream_getl (s); + ifp->status = stream_getc (s); /* Read interface's value. */ ifp->flags = stream_getl (s); ifp->metric = stream_getl (s); ifp->mtu = stream_getl (s); + ifp->mtu6 = stream_getl (s); ifp->bandwidth = stream_getl (s); }