From 633d7f5936ab027135c3cce6f11c5479f9f9c59f Mon Sep 17 00:00:00 2001 From: "7u83@mail.ru" <7u83@mail.ru@noemail.net> Date: Tue, 24 Mar 2015 19:13:04 +0000 Subject: [PATCH] Nicer comments. FossilOrigin-Name: 60baf0cb77bad700d63c9626f05c968731de1d3b18b883d685b98dfa2bd04c2c --- src/capwap/lwapp.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/capwap/lwapp.h b/src/capwap/lwapp.h index 5efaa20a..e5a3f3ab 100644 --- a/src/capwap/lwapp.h +++ b/src/capwap/lwapp.h @@ -30,6 +30,8 @@ /* version */ #define LW_VERSION 0 +#define LW_VENDOR_ID_CISCO 4232704 + /* ports */ #define LWAPP_CONTROL_PORT 12223 @@ -133,8 +135,8 @@ (*((uint32_t*)(dst)) = htonl(dw),4) -/* it would be nice to implement the next functions as macros, - but to avoid side effects, we are using C99 inline functions */ +/* the following functions are defined as static inline and not as + macro to avoid any side effects */ static inline int lw_put_data(uint8_t*dst,const uint8_t*data,uint16_t len)