From fbd0c126fbc410744b60cdc59a0f4e9505e16b0b Mon Sep 17 00:00:00 2001 From: "7u83@mail.ru" <7u83@mail.ru@noemail.net> Date: Sat, 4 Apr 2015 21:50:18 +0000 Subject: [PATCH] Initial commit. FossilOrigin-Name: bd82841391d7e2e75f8b4af308b0b9bd32a1b095316f01856b1a2d4a7eed75c6 --- src/capwap/cw_in_wtp_board_data.c | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/src/capwap/cw_in_wtp_board_data.c b/src/capwap/cw_in_wtp_board_data.c index caba3763..dab23353 100644 --- a/src/capwap/cw_in_wtp_board_data.c +++ b/src/capwap/cw_in_wtp_board_data.c @@ -1,3 +1,21 @@ +/* + This file is part of libcapwap. + + libcapwap is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + libcapwap is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with Foobar. If not, see . + +*/ + #include #include @@ -67,11 +85,10 @@ static void readsubelems_wtp_board_data(cw_itemstore_t itemstore, uint8_t * msge /** - * Parse a WTP Board Data messag element an put results to itemstore. + * Parse a WTP Board Data messag element and put results to itemstore. */ -int cw_in_wtp_board_data(struct conn *conn, struct cw_action *a, uint8_t * data, int len) +int cw_in_wtp_board_data(struct conn *conn, struct cw_action_in *a, uint8_t * data, int len) { - printf("Jau Board Data\n"); if (len < 4) { cw_dbg(DBG_ELEM_ERR, "Discarding WTP_BOARD_DATA msgelem, wrong size, type=%d, len=%d", a->elem_id,