diff options
Diffstat (limited to 'zebra')
-rw-r--r-- | zebra/ChangeLog | 5 | ||||
-rw-r--r-- | zebra/zserv.c | 6 |
2 files changed, 8 insertions, 3 deletions
diff --git a/zebra/ChangeLog b/zebra/ChangeLog index 89e5fca3..91cf5488 100644 --- a/zebra/ChangeLog +++ b/zebra/ChangeLog @@ -1,3 +1,8 @@ +2006-01-11 Paul Jakma <paul.jakma@sun.com> + + * zserv.c: (zsend_interface_{add,delete,update}) if flags are + 8 bytes now, update to write out with stream_putq. + 2005-12-29 Greg Troxel <gdt@fnord.ir.bbn.com> * kernel_socket.c: remove dead code (from David Young). diff --git a/zebra/zserv.c b/zebra/zserv.c index abd99cdc..35dd306e 100644 --- a/zebra/zserv.c +++ b/zebra/zserv.c @@ -183,7 +183,7 @@ zsend_interface_add (struct zserv *client, struct interface *ifp) stream_put (s, ifp->name, INTERFACE_NAMSIZ); stream_putl (s, ifp->ifindex); stream_putc (s, ifp->status); - stream_putl (s, ifp->flags); + stream_putq (s, ifp->flags); stream_putl (s, ifp->metric); stream_putl (s, ifp->mtu); stream_putl (s, ifp->mtu6); @@ -223,7 +223,7 @@ zsend_interface_delete (struct zserv *client, struct interface *ifp) stream_put (s, ifp->name, INTERFACE_NAMSIZ); stream_putl (s, ifp->ifindex); stream_putc (s, ifp->status); - stream_putl (s, ifp->flags); + stream_putq (s, ifp->flags); stream_putl (s, ifp->metric); stream_putl (s, ifp->mtu); stream_putl (s, ifp->mtu6); @@ -355,7 +355,7 @@ zsend_interface_update (int cmd, struct zserv *client, struct interface *ifp) stream_put (s, ifp->name, INTERFACE_NAMSIZ); stream_putl (s, ifp->ifindex); stream_putc (s, ifp->status); - stream_putl (s, ifp->flags); + stream_putq (s, ifp->flags); stream_putl (s, ifp->metric); stream_putl (s, ifp->mtu); stream_putl (s, ifp->mtu6); |