diff options
author | paul <paul> | 2006-01-11 01:59:04 +0000 |
---|---|---|
committer | paul <paul> | 2006-01-11 01:59:04 +0000 |
commit | c77d4546619f9d3e0ccfac5acbc0ebb42658a61f (patch) | |
tree | 007f6c4e2c85e4df115c39011aa7ad3fb379f434 /zebra | |
parent | 44316fef4d93b3d94cf45663ce35797d32acce71 (diff) |
[zserv] Update interface flags to 8 bytes wide.
2006-01-11 Paul Jakma <paul.jakma@sun.com>
* if.h: (struct interface) expand flags to 8 bytes.
* zclient.c: (zebra_interface_{add,state}_read) stream read of
interface flags now need to use stream_getq.
(zebra_interface_if_set_value) ditto
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.
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); |