Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Quagga: Dev

[PATCH 2/2] lib: bump ZSERV_VERSION to 2

 

 

Quagga dev RSS feed   Index | Next | Previous | View Threaded


equinox at diac24

Apr 20, 2012, 8:36 AM

Post #1 of 1 (107 views)
Permalink
[PATCH 2/2] lib: bump ZSERV_VERSION to 2

continually changing the zserv protocol without bumping up the version
number has made it impossible to talk to zebra without knowing the exact
version. in reality, increasing the version number more often guards
against inadvertedly running incompatible versions of a daemon and zebra
as well as aids external development.

* lib/zclient.h: #define ZSERV_VERSION 2

Signed-off-by: David Lamparter <equinox [at] diac24>
---
lib/zclient.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/zclient.h b/lib/zclient.h
index a7d7b54..a660bbf 100644
--- a/lib/zclient.h
+++ b/lib/zclient.h
@@ -98,7 +98,7 @@ struct zserv_header
* always set to 255 in new zserv.
*/
uint8_t version;
-#define ZSERV_VERSION 1
+#define ZSERV_VERSION 2
uint16_t command;
};

--
1.7.8.4

_______________________________________________
Quagga-dev mailing list
Quagga-dev [at] lists
http://lists.quagga.net/mailman/listinfo/quagga-dev

Quagga dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.